Hi all,
I am completely new to JFreeChart. I wanted to change the default Category1, Category2 to some other value but couldn't figure out how to. Please help.
anup
how to set horizontal labels in vertical graph
Re: how to set horizontal labels in vertical graph
Hi Anup,
If you are using the DefaultCategoryDataset class, then you can pass an array of Objects to the setCategories(...) method. You can use any Object (the toString() method is used to convert to a String for the label) but most of the time using String objects is easiest.
Regards,
DG.
If you are using the DefaultCategoryDataset class, then you can pass an array of Objects to the setCategories(...) method. You can use any Object (the toString() method is used to convert to a String for the label) but most of the time using String objects is easiest.
Regards,
DG.