문제

I would like to do Gantt chart in javafx, but there is no examples how can I do this. I tried convert bar chart to gantt chart, but this didn't bring good results. :/ Is there any easy way to do it?

Ps. sorry for my english ;p

도움이 되었습니까?

해결책

Ok, as you don't comment on my comments, I'll leave a version of official answer.

Now, Gant diagram is not a part of JavaFX 2+, and I don't know about an existing samples, where it is already built. So, the answer is - to build it by yourself.

Some part of JavaFX is open source, javafx controls, and javafx-charts projects are open-sourced as well. They can be found here : http://openjdk.java.net/projects/openjfx/

You can observe code of bar charts, line charts (and, may be, a scroll pane - for large charts), and it should become clear enough to understand, how to build a Gant chart yourself. It will require some coding, yes..

Possibly, if it will be created well, you can even go through the process and contribute it into open jfx.

다른 팁

Maybe you can try my commercial framework called FlexGanttFX for JavaFX Gantt charts. http://www.flexganttfx.com

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top