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. Image for the cookie policy date
close icon

Calculate size of ChartSeriesAnnotation

Hi,

I have a chart with bunch of annotations (ChartSeriesAnnotation).
In order to figure out value of X property of annotation I need to know size of it.
How can I calculate it?

4 Replies

SS Sujitha S Syncfusion Team June 17, 2010 09:06 AM UTC

Hi Andrew,

Thanks for choosing Syncfusion product.

I have created a simple sample to meet your requirement.

Please find the attached sample.

Let me know, If you have any queries.

Regards,
Sujitha S



ChartSeriesAnnotaion_f3b69708.zip


AD Administrator Syncfusion Team June 28, 2010 07:30 AM UTC

Hi,

your sample doesn't work.
Ellipse_MouseMove never gets to the line

Point p = e.GetPosition(area);


AD Administrator Syncfusion Team June 28, 2010 07:34 AM UTC

I'm looking for a way of getting size to know before I construct annotation.


SS Sujitha S Syncfusion Team June 30, 2010 01:16 PM UTC

Hi Andrew,

Thanks for choosing Syncfusion product.

We are not able to reproduce the issue.

Please provide us with some more information it would be easy for us to identify it quickly and get back to you.

I have modified the sample to get the size of the annotation before constructing it.

Let me know, If you have any queries.

Regards,
Sujitha S





ChartSeriesAnnotaion_f7981419.zip

Loader.
Live Chat Icon For mobile
Up arrow icon