Gantt Interactive Chart

I use jfreechart to create a Gantt chart and even managed to add a kilometer to it. I can also dynamically display these charts on a web page.

But now I want to add more interactions to the diagram, so I need some kind of client thing. I checked about jsgantt, it works fine overall, and I tried to expand it according to my requirements. I abandoned this because all the codes have HTML CSS styles that are difficult to follow - the author claims that this is improved cross-browser support, but cross-browser behavior is still a problem: the tree text is not compatible the diagram itself on Firefox.

Now I’m thinking about doing it from scratch, but I'm not sure where to start. There seem to be a few options here:

  • Javascript, HTML and CSS - using table and background colors to format charts, which are actually the jsgantt way.
  • HTML5 Canvas and Javascript - not supported by older browsers, not DOM.
  • Java applet - not sure.
  • SVG and Javascript - have never worked before.

Can someone give me some advice from your experience regarding the choice. Thank!

+3
source share
1 answer

First, ask yourself which browsers and / or platforms you need to support, because the answer to this question will determine which route you are going.

As you say, Canvas is not supported in older browsers, so this will be a problem if you need to support them. There are polyfill hacks for adding canvas support to older versions of IE, but it is very slow.

SVG IE. , , IE VML IE5.5. JS-, Raphael SVG VML, , , - .

, , SVG ( VML) - . SVG , Android v2.x . v3 v4 , Android- v2.x.

, , SVG. , , . Android, , SVG.

Java - . , , . , , , , .

Flash ActiveX. , Flash, , , Java-, , , Flash iOS.

, , , - -, JS, HTML CSS. , , , , . HTML- - , , - . <div> , , .

, , jQuery , . JS, , , jQuery .

, .

+3

All Articles