Now I want to create a time series chart in jfreechart. However, in the online examples, only charts using classes such as Day, Month, etc. Therefore, I essentially want to create an XY graphics line. However, the problem I am facing is that Jfreechart does not bind data points in the order in which they were added. Nor does it connect the dots in the order of "X Values." So basically I get "Z" in my jfreechart.
So my question is, is there a way to change the jfreechart setting so that it connects data points based on βX valuesβ?
source share