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"