failed to looping dataset in jfreechart
问题 It is possible to create a loop dataset in jfreechart ?. I have a List that contains data. Here is the code List<ReportChart> theDatas; public CategoryDataset createDataset() { DefaultCategoryDataset dataset = new DefaultCategoryDataset(); for (ReportChart reportChart : theDatas) { dataset.setValue(reportChart.getLevensthein(), reportChart.getMainFileName(), reportChart.getComparingFileName()); dataset.setValue(reportChart.getJaccard(), reportChart.getMainFileName(), reportChart