Text labels inside jfree Gantt chart bars
问题 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