Custom points are not moving in v4.2

Hi,
In the example that you provided for custom poiints in Syncfusion 4.2 is not working properly. If I select custom point 2 and changed the XVaue to 1998 and click "Replace custom point" buuton, the point is not moving to the new location.Please check it.

Sriram

3 Replies

AD Administrator Syncfusion Team July 27, 2006 01:01 PM UTC


Hi Sriram,

After assigning the Values from the TextBox to the PointIndex,SeriesIndex,XValue and YValue properties of ChartCustomPoint Class , you must add it to Chartcontrol in the button_Click event.

cp2.XValue = Convert.ToDouble(textBox1.Text) ;
cp2.YValue = Convert.ToDouble(textBox2.Text) ;

this.chartControl1.CustomPoints.Add(cp2);

Let us know if this helps.

Thank you for your interest in Syncfusion Products.

Regards,
Jaya



SR SriRam July 28, 2006 06:49 AM UTC

Hi Jaya,
If custom point was alredy added to the chartControl and we are simply changing the X position then do we need to add it again?

Sriram



AD Administrator Syncfusion Team August 1, 2006 07:46 AM UTC

Hi Sriram,

Thank you for bringing this issue to our attention. It is not necessary to add the custom point again when you specify the new location.Actually it is a bug in 4.201.0.37 . But it is working well in 4.101.0.50. We created a bug report on this regard and you can view the status of the same in the following link.

http://www.syncfusion.com/support/issues/chart/Default.aspx

You need to add the custom point again if you want to show it in the new location in the version 4.201.0.37 using the following code as I told you before

this.chartControl1.CustomPoints.Add(cp2);

Thank you for choosing Syncfusion Products.

Regards,
Jaya

Loader.
Up arrow icon