|
Hi Guys,
My query id : I want to redraw the chart after the series data was changed, data also set the series but not redraw the chart.
I'm using this code:
SerieCollection series = new SerieCollection();
foreach (DataRow dr1 in dsSeries.Tables[0].Rows)
{
hidValues11.Clear();
hidValues11.Add(Convert.ToInt32(dr1["plt-costs-p01"]));
yValues = hidValues11.ToArray(typeof(object)) as object[];
series.Add(new Serie { name = dr1["plt-work-type-desc"].ToString(), data = yValues } );
}
AreaChart1.DataSource = series;
AreaChart1.DataBind();
AreaChart1.Appearance = new Highchart.Core.Appearance.Appearance { events = new Highchart.Core.Events.ChartEvents { addSeries = "this.chart.redraw();" } };
Any Idea about this so please tell me!
Thanks
Anurag
|