Regarding removing chartpoint from chartcontrol in LIVE chart

Hi All,

I need answer very urgently.

i implemented "IChartSeriesModel" for live chart but i want remove the some points from the chart while live chart is on.

How do i do?

Please reply me as soon as possible.

Waiting for your reply...

Thanks and Regards
K.Sathishkumar

1 Reply

RR Ramya R Syncfusion Team April 20, 2007 12:47 PM UTC

Hi Satishkumar,

If your intention is to make some of the points in the live chart to be not visible then it can be done by using the GetEmpty method of the IChartSeriesModel. Kindly take a look at the code snippet below,

public bool GetEmpty(int index)
{

double[] data = (double[])(ydata[index]);

if (data[0] <= 800.0)
return false;
else
{
return true;
}
}
Also take a look at the attached sample.

You can download the sample from the below given webpage link,
http://websamples.syncfusion.com/samples/Chart.Windows/F59681/main.htm

Let me know if I am wrong in getting your requirement.

Thanks & Regards,
Ramya.


Loader.
Up arrow icon