Hello, I have a bar chart and data from query is sorted in ascending order. But when the image is drawn with the chart, the data is not sorted. Can you please help me how to force jfreechart to display data in ascending order?
Do I need to use DomainOrder?
Can you put an example here of how to use this method?
Thank you.
how to put data in ascending order in bar chart
bump
Hey All,
I'd like to bump this for a response. Is there no way to alphabetize the categories displayed in a CategoryDataset? It seems like a logical thing to allow, but I can't seem to find DomainOrder in the CategoryDataset apis anywhere.
Thanks
I'd like to bump this for a response. Is there no way to alphabetize the categories displayed in a CategoryDataset? It seems like a logical thing to allow, but I can't seem to find DomainOrder in the CategoryDataset apis anywhere.
Thanks