gantt-chart

Gantt chart from scratch

北慕城南 提交于 2019-11-27 21:42:40
Task I'd like to create a Gantt chart with JavaFX from scratch. Example Let's say I have 2 machines Machine A and Machine B and they have 2 states Online (green) and Offline (red). I'd like to show their states at given time intervals in horizontal colored Bars, X-axis is the Date axis, Y-axis is the machine axis. Question Where do I start? Which classes do I need to use? It would be great if anyone has a minimal example and could share it. Thank you very much. It turned out that the BubbleChart source was a good example to start from. Basically you can use a modified version of the XYChart

Gantt chart from scratch

依然范特西╮ 提交于 2019-11-26 20:46:25
问题 Task I'd like to create a Gantt chart with JavaFX from scratch. Example Let's say I have 2 machines Machine A and Machine B and they have 2 states Online (green) and Offline (red). I'd like to show their states at given time intervals in horizontal colored Bars, X-axis is the Date axis, Y-axis is the machine axis. Question Where do I start? Which classes do I need to use? It would be great if anyone has a minimal example and could share it. Thank you very much. 回答1: It turned out that the

Code for changing the color of subtasks in Gantt Chart

断了今生、忘了曾经 提交于 2019-11-26 11:56:23
I need to change the color of subtasks in a Gantt chart . My example is based on GanttDemo2 with the following dataset and renderer. In different forums I found some discussions related to this topic, but I did not find a clear simple working example. In particular, I can change the color of tasks, but I don't know how to extract subtasks. private IntervalCategoryDataset createSampleDataset() { final TaskSeries s1 = new TaskSeries("Scheduled"); final Task t1 = new Task( "Design", date(1, Calendar.APRIL, 2001), date(1, Calendar.MAY, 2001)); t1.addSubtask(new Task("Design 1", date(1, Calendar

Gantt charts with R

╄→гoц情女王★ 提交于 2019-11-26 05:49:51
问题 Has anybody used R to create a Gantt chart? P.S. I could live without the dependency arrows. 回答1: There are now a few elegant ways to generate a Gantt chart in R. Using Candela library(candela) data <- list( list(name='Do this', level=1, start=0, end=5), list(name='This part 1', level=2, start=0, end=3), list(name='This part 2', level=2, start=3, end=5), list(name='Then that', level=1, start=5, end=15), list(name='That part 1', level=2, start=5, end=10), list(name='That part 2', level=2,

Code for changing the color of subtasks in Gantt Chart

我只是一个虾纸丫 提交于 2019-11-26 02:15:17
问题 I need to change the color of subtasks in a Gantt chart. My example is based on GanttDemo2 with the following dataset and renderer. In different forums I found some discussions related to this topic, but I did not find a clear simple working example. In particular, I can change the color of tasks, but I don\'t know how to extract subtasks. private IntervalCategoryDataset createSampleDataset() { final TaskSeries s1 = new TaskSeries(\"Scheduled\"); final Task t1 = new Task( \"Design\", date(1,