ErrorBar-Series: Adding Data with DataMember
Posted: Tue Jun 09, 2009 2:57 pm
Hello,
I'm just trying to fill an ErrorBar-Series with data out of a DataTable-Object using the DataMember/DataSource Methode.
This works fine with the Xvalues and Yvalues but the ErrorValues won't work. Inspecting the contens of the ErrorValues collection after the DataSource calls showed that no data has been added to the ErrorValues collection resp. the Data is still 0.
I used this code for adding the data:
ES.XValues.DataMember = "ExpTime"
ES.YValues.DataMember = "value"
ES.ErrorValues.DataMember = "error"
ES.DataSource = DT
CH.Series.Add(ES)
Thank you for any ideas what is going wrong.
I'm using the Version .NET 2.0.3309.32489
Marcus
I'm just trying to fill an ErrorBar-Series with data out of a DataTable-Object using the DataMember/DataSource Methode.
This works fine with the Xvalues and Yvalues but the ErrorValues won't work. Inspecting the contens of the ErrorValues collection after the DataSource calls showed that no data has been added to the ErrorValues collection resp. the Data is still 0.
I used this code for adding the data:
ES.XValues.DataMember = "ExpTime"
ES.YValues.DataMember = "value"
ES.ErrorValues.DataMember = "error"
ES.DataSource = DT
CH.Series.Add(ES)
Thank you for any ideas what is going wrong.
I'm using the Version .NET 2.0.3309.32489
Marcus