text « GanttChart « JFreeChart Q&A





1. Gantt: how can I label a task whith custom text?    jfree.org

Hi everybody. I have a problem with my task chart. If I add a Task to my Gantt [new Task("description ", new TimePeriod(...))] in the chart I see on the left of Task the text "description" as label. Now I want change the label from "description" to "description 2", but I cannot do it. I try to create a MyCategoryItemLabelGenerator or ...

2. Putting other text in between tasks in Gantt Chart    jfree.org

Hi, I have developed some gantt chart where there are task assigned to multiple people. I want to break down the task by people. How can I do this - my gannt should look like this - | Employee 1 | Task 1 | (Start of bar)||||||||||||||||||(End of bar) Task 2 | (Start of bar)||||||||||||||||||||||(End of Bar) | Employee 2 | ...

3. Gantt with text above the bars    jfree.org

Hi, I am new to JFreeCharts and we recently bought the Developer Guide after evaluating it for our project. I am trying to use Gantt chart to show series of events that started and ended (each event started and ended once - e.g. its a different TaskSeries with a single Task). The chart is created as I want it, but I ...

4. Text labels inside Gantt chart bars    jfree.org

Hello! I have a simple Gantt chart here, that consists of a number of Tasks just like that: TaskSeries s1 = new TaskSeries("Planned Tasks"); Task newTask = new Task("Task" + String.valueOf(taskIndex), new SimpleTimePeriod(currentTime, currentTime + (int) distributionTime) ); s1.add(newTask) final TaskSeriesCollection collection = new TaskSeriesCollection(); collection.add(s1); JFreeChart chart = ChartFactory.createGanttChart( "Distribution ", "Task", "Time", collection, true, true, false ); Is there ...