List<T> to Series

2 posts, 0 answers
  1. Benedict
    Benedict avatar
    16 posts
    Member since:
    Jun 2009

    Posted 10 Sep 2010 Link to this post

    Hello,

    I have a L = List<A>  of classes A { int X, int Y, int Z,  DateTime Timestamp }

    And want to set chart.DataSource = L and 3 line series should be drawn with the Timestamp property on the x-Axis and respectively the values of X,Y and Z on the y-Axis.

    How can I do this ? Is set the DataXColumn values in the series...  but no reaction ...

    could you give a small example ?


  2. Benedict
    Benedict avatar
    16 posts
    Member since:
    Jun 2009

    Posted 12 Sep 2010 Link to this post

    Try a databinding with fake data in the Form_Load event, then subsequent bindings of the same type do work,
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top