This is a migrated thread and some comments may be shown as answers.

Multiple LineSeries with different Datetime on XAxis

1 Answer 58 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 26 Nov 2014, 03:17 PM
Hi,
i got a problem that i got 3 Lineseries which got just 1 not matching XAxis-Value.
My Database looks like this

Series 1
value    Date
0    2014.11.25 09:00:00
5    2014.11.25 02:00:00
10    2014.11.25 03:00:00
15    2014.11.25 04:00:00

Series 2
20    2014.11.25 01:00:00
25    2014.11.25 02:00:00
30    2014.11.25 03:00:00
35    2014.11.25 04:00:00

Series 3
40    2014.11.25 01:00:00
45    2014.11.25 02:00:00
50    2014.11.25 03:00:00


When i add them to my chartview the first series is displayed right. But the order of the second and third series are messed up so the first item is the last point.

For the XAxis i already use DateTimeContinuousAxis.
Its the same Problem as from this thread: http://www.telerik.com/forums/multiple-x-axis-lineseries-issue

1 Answer, 1 is accepted

Sort by
0
Matthias
Top achievements
Rank 1
answered on 26 Nov 2014, 03:46 PM
Ok, you can close this thread.
The problem was that i did set the XAxis type and then added the lineseries. This caused that the chartview matched the XAxis just on the first series.
Now i set the XAxis type after the lineseries so it matches the XAxis depending on all series
Tags
ChartView
Asked by
Matthias
Top achievements
Rank 1
Answers by
Matthias
Top achievements
Rank 1
Share this question
or