From looking over your code real quick I think you have a couple of problems. First of all, I would use a DateTime axis instead of a Category if your going to do a line chart based on time.
Then, with your series, you would want to set,
series.xField = "date";
series.yField = "l100"; (or) "l200"; (or) "l300";
I hope this helps
The screenshot I uploaded doesn't seem to be available to view yet so I will describe what I need the line chart to look like.
- Along the x axis of the line chart I want it to display l100, l200, l300... l1000.
- Along the y axis I want numbers displayed to represent the values of the <l100>, <l200>, etc... tags i.e. from 0.00 to 30.00.
- There should be 1 line drawn for each of the dates in my xml file with the values for each date representing a point on the line chart.
Using the xml file I included in the 1st post above as an example, there should be 2 lines on the chart, one for the date 08-06-2009 with 3 points, 29.00, 12.21 & 7.34 and a 2nd line for the date 15-06-2009 with the 3 points, 21.79, 8.96 & 3.97. Also, I want the legend to display the date as the key to the lines.
This all has to be as dynamic as possible as the data could have any values or dates.
Any help would be very much appreciated,