Hello All,
I am using windows syncfusion chart control in web page and I am using for real time values so that I developed custom model for chart updation below is my code.
public void RaiseListChanged(ListChangedType listChangedType,int index)
{
if (this.trendSeries.TrendPointCollection.Count > 0)
{
try
{
if (this.Changed != null)
this.Changed(this, new ListChangedEventArgs(listChangedType, index));
}
catch (Exception ex)
{
System.Diagnostics.Trace.WriteLine(DateTime.Now.ToString() + ":" + ex.Message);
}
}
}
the line "this.Changed(this, new ListChangedEventArgs(listChangedType, index));"
throws exception saying that "cannot access disposed object"
Please tell me how do i fix this problem
I attached my error image too.
Thanks in Advance
K.Sathishkumar.
chartcontrol3.zip