changed labels
changed labels
How can I changed labels both in the legend and at the bottom of the axises. For example in the JFreeChartDemo I choose Vertical Bar Chart and I would change the labels in the legend("Series 1, Series 2...) and the labels Category1, Category2 ...can I?How?Thanks. Best Regards. Marilina
Re: changed labels
If you are using the DefaultCategoryDataset class, then you can use the methods:
setSeriesNames(...);
setCategoryNames(...);
Regards,
DG.
setSeriesNames(...);
setCategoryNames(...);
Regards,
DG.