Multiple LineSeries with different Datetime on XAxis

2 posts, 0 answers
  1. Matthias
    Matthias avatar
    2 posts
    Member since:
    Nov 2014

    Posted 26 Nov 2014 Link to this post

    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
  2. Matthias
    Matthias avatar
    2 posts
    Member since:
    Nov 2014

    Posted 26 Nov 2014 in reply to Matthias Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top