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.


Thread ID:





131703 Jul 24,2017 09:23 AM Aug 21,2017 04:03 AM Xamarin.Android 3
Tags: SfChart
Roi Godelman
Asked On July 24, 2017 09:23 AM

Hi Syncfusion,
I have a chart that I have has numeric value in y axis and date in the x axis
I will like to add  annotation (image that  is  clickable and locked on a specific date)
and when i am zooming in and out or pinning so the annotation should behave currently  

Saravana Pandian Murugan [Syncfusion]
Replied On July 25, 2017 08:59 AM

Hi Roi,

Thanks for contacting Syncfusion support.

We have achieved your requirement in Xamarin.Android by using the DataMarkerLabelCreated event of ChartSeries and TooltipCreated event of SfChart. We have attached sample for your reference which can be downloaded from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/131703/ze/AnnotationSample-314816745  

Please check the attached sample and let us know if you need further assistance on this.

Saravana Pandian M. 

Roi Godelman
Replied On August 16, 2017 08:15 AM

Hi Syncfution,

I added the code that you send me.

but I still have a couple of problems:

1) when I am zooming the annotations move and sometimes they colliding with each other and when this is happening I what to show only one pic.

2)  I need that the annotations will be on the bottom of the chart but I don't know which value to enter in the y point that the pic will end the drawing on the zero y value

I am using to x axis as DateTime axis and y axis I am using numerical axis

Thank, Roi

Manivannan Elangovan [Syncfusion]
Replied On August 21, 2017 04:03 AM

Hi Roi,

As per your requirement, we have added an image in constructor of SfChart and arranging it based on AnnotationX and AnnotationY properties which are available in SfChartExt class. Please find the sample from below location.

Sample: http://www.syncfusion.com/downloads/support/forum/131703/ze/ChartSample390907184  

Please let us know if your requirement is different from this.

Manivannan E  


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.