Convert CatagoryDataSet to XYDataset

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
agscontact
Posts: 13
Joined: Mon Dec 01, 2008 4:31 am

Convert CatagoryDataSet to XYDataset

Post by agscontact » Mon Dec 01, 2008 5:12 am

XY Data set has feature to autopaint the X values if the size is getting reduced.If no of x values are more then XY chart doesnt show all x values


in case of Catagory chart if no of catagories are more then also we are showing all the catagories.So catagorie label cant be seen properly.

I am planning to convert CatagoryDataSet to XYDataSet and while painting the X value i want to decode it to the corresponding catagory value
How can i do that?is it feasible??

If there are any other solution please put forward your suggestion to show the catagory labels (to show only few not all)

Locked