I just started using JFreeChart, so this might be a naive question.
I have a requirement when I want to change the order of the X-axis labels when creating a chart (XYLineChart). Can someone tell me how this can be done using the JFreeChart API?
For example, at the moment, my X axis labels are in ascending order: {1,2,3,4,5}. I want the X-axis labels displayed in descending order: {5,4,3,2,1}. Needless to say, it must also appropriately change the corresponding Y values ββin the display.
Thanks.
source share