Articles in this section
Category / Section

How to set the name of the series at run time?

1 min read

 

You can set the Text property of Series to get its name at run time.

C#

// Setting series text

this.ChartWebControl1.Series[0].Text = "Series 0";

this.ChartWebControl1.Series[1].Text = "Series 1";

VB

' Setting series text

Me.ChartWebControl1.Series(0).Text = "Series 0"

Me.ChartWebControl1.Series(1).Text = "Series 1"

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied