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

List<T> to Series

1 Answer 21 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Benedict
Top achievements
Rank 1
Benedict asked on 10 Sep 2010, 10:48 AM
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 ?


1 Answer, 1 is accepted

Sort by
0
Benedict
Top achievements
Rank 1
answered on 12 Sep 2010, 09:10 AM
Try a databinding with fake data in the Form_Load event, then subsequent bindings of the same type do work,
Tags
Chart (obsolete as of Q1 2013)
Asked by
Benedict
Top achievements
Rank 1
Answers by
Benedict
Top achievements
Rank 1
Share this question
or