Hi,
Are XValues.Datamember and LabelMember compatible?
My database query returns a DataSet, using the following code I hope to display "StringLabelValue" labels on the X axis with "IntegerValue" values on the X axis
(IntegerValue = time since midnight in seconds, StringLabelValue = time formatted HH:MM:SS, there are periods in the data without data, this is why I am using the integer value as the DataMember)
series.XValues.DataMember = "IntegerValue";
series.LabelMember = "StringLabelValue";
series.YValues.DataMember = "DataValue";
series.DataSource = ds.Tables[0].DefaultView;
THE LABELS ARE NOT CORRECT
The Integer value is displayed
AxisStyle = Value
No labels are displayed
AxisStyle = Text
How do I display "StringLabelValue"?
Any ideas?
Thanks.
X Axis labels
-
- Newbie
- Posts: 52
- Joined: Tue Mar 04, 2003 5:00 am