IDalton Posted April 12, 2007 Report Share Posted April 12, 2007 I am plotting a lines graph and I could have multiple series of data coming in and I am loading the data via sql server and attaching a data table to the chart and setting the XValue & Value via the DataSourceSettings. All the examples I see are setting the series manually using the text property. Is there a way to dynamically set the text, so that I don't have to try and figure out what series belongs to what set of data? Quote Link to comment Share on other sites More sharing options...
Frank Posted April 12, 2007 Report Share Posted April 12, 2007 I'm afraid I don't follow you. If you are using databinding, the series text is taken from the dataset columns (DisplayName property). You can use the DataSourceSettings.Style property to prevent this. Then you can set the series text in your code by doing: series.Text = text; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.