Can i change the name of the series?

May 9, 2012 at 7:22 PM

I need change the name of the series according to the year of my data, can i?

May 29, 2012 at 9:29 PM

Try this, it's works for me !

 

object[] iScore =  new object[3];

var ListSeries = new Collection<Serie>();      

Serie MySerie = new Serie();

 

iScore[0] = 1;

iScore[1] = 5;

iScore[2] = 10;

MySerie.name = "MaSerieName";

MySerie.data = iScore;

ListSeries.Add(MySerie);

GraphPlayer.DataSource = ListSeries;
GraphPlayer.DataBind();

 

See you