item « GanttChart « JFreeChart Q&A





2. item labels for gantt charts    jfree.org

3. Can the Gantt chart give multiple intervals for a item    jfree.org

My requirement is to create a leave schedule plan in the form of a Gantt chart.. So can we give 2 time intervals for a particular task.. For example, my code snippet is as follows: public GanttCategoryDataset createDataset() { final TaskSeries s1 = new TaskSeries("Leave Plan "); s1.add(new Task("manoj(23354)", new SimpleTimePeriod(date(1, Calendar.JULY, 2007), date(31, Calendar.AUGUST, 2007)))); s1.add(new Task("subash (24994)", new SimpleTimePeriod(date(1, ...

4. Gantt chart with item label displayed to the right of chart    jfree.org

To whom it may concern: I need to display the chart label (for each series) to the right of the gantt chart, how could I achieve? I modify the GanttDemo1.java example and I get a reference to the GanttRenderer and call the setPositiveItemLabelPosition and setPositiveItemLabelPositionFallback methods as below: setPositiveItemLabelPositionFallback(new ItemLabelPosition( ItemLabelAnchor.CENTER, TextAnchor.CENTER, TextAnchorCENTER, 0.0)); When I run the GanttDemo1, nothing get ...

6. gantt, subtask and item label    jfree.org

Did you find out the solution on this? I have the exact same problem and don't know how to solve it. I have a interval period with start and end date that I create a Task for and to this Task I add intervals (subtasks) that I want to display tooltip for. Does anyone know how to do this? The tooltip ...

7. [Gantt] Clickable chart items    jfree.org

I found an alternative way to solve my problem. I do not know if it is very clean, but at least, I am not blocked anymore... I set in tooltiptext of my item the id of dataobject I want to retrieve. Then on doubleClick, I can retrieve the tooltiptext, then I use the ID in it to retrieve my data... Hope ...