We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Custom points are not moving in v4.2

Thread ID:

Created:

Updated:

Platform:

Replies:

47055 Jul 27,2006 04:59 AM Aug 1,2006 03:46 AM Windows Forms 3
loading
Tags: Chart
SriRam
Asked On July 27, 2006 04:59 AM

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

Administrator [Syncfusion]
Replied On July 27, 2006 09:01 AM


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


SriRam
Replied On July 28, 2006 02:49 AM

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


Administrator [Syncfusion]
Replied On August 1, 2006 03:46 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;