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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

change Annotation position if is on top of a SFLineSeries

Thread ID:





142381 Jan 30,2019 01:13 PM UTC Feb 4,2019 11:43 AM UTC Xamarin.iOS 3
Tags: SfChart
Nassos Reyzidis
Asked On January 30, 2019 01:13 PM UTC

He there,
i want to check if a textAnnotation's rectagle is on top of any Line series in order to change its position.


Bharathiraja K [Syncfusion]
Replied On January 31, 2019 09:58 AM UTC

Hi Nassos, 
Greetings from Syncfusion. 
To position the text Annotation, please refer our online help document link. 
If your requirement is different from the above help document link, please confirm the below details whether your expected requirement match with that. 
Text Annotation should be in backside (bottom area) and line series draw on top position (display in front).   
If the above details match with your requirement, please confirm us. We will prepare and provide custom sample for you. 

Nassos Reyzidis
Replied On February 1, 2019 10:17 AM UTC

Hi Bharathiraja,

thanks for the reply,
I've seen the documentation before i opened this thread, the problem is not that i don't know how to place the Annotation either by Axes point or Pixels, what I'm asking is how to find out if a given annotation that i placed in for example at (x=10,y=10) is on top of a chartLine in order to change the annotation's position.
What a want is to ensure that the annotation is not in-front or behind (intersect) with a Line.


Bharathiraja K [Syncfusion]
Replied On February 4, 2019 11:43 AM UTC

Hi Nassos, 
Thanks for your update.  
We are afraid that there is no option to check the TextAnnotation is placed on top of the LineSeries. 
As we can’t find out text annotation on line series, we need to check the data points and text annotation position and will need to adjust it manually using the CoordinateUnit axis or pixels. 
As a workaround solution, the DataMarker can be used at a specific point as TextAnnotation and can hide the remaining data markers using DataMarkerLabelCreated event. 
We have prepared a simple sample using the DataMarker as TextAnnotation to show the text without placing on LineSeries. By using the LabelPosition as inner, outer and center you can also change the text position for the DataMarker. 
Please refer the below UG link for more details to position datamarker label 
Please let us know if you have any other concerns.  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon