I have just started using JFreeChart, so this might be a naive question.
I have a requirement where I want to reverse the order of X-axis labels while generating the chart (XYLineChart). Could someone tell me how can this be done using JFreeChart API ?
For example, as of now my X-axis labels are in ascending order : {1,2,3,4,5} say. I want the X-axis labels to be shown in the descending order : {5,4,3,2,1}. Needless to say, it should also change the corresponding Y values accordingly while displaying.
Thanks.