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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataMarkers on edge when zooming in

Thread ID:





125033 Jul 15,2016 04:22 PM UTC Jul 19,2016 01:14 PM UTC Xamarin.Forms 3
Tags: SfChart
Asked On July 15, 2016 04:22 PM UTC


when zooming, the data markers for the first and the last data point of the graph are on the edge and only visible to a half, see screenshots. How to get the data markers "inside" of the graph area?


Attachment: Archive_ae57d36a.zip

Yuvaraj Palanisamy [Syncfusion]
Replied On July 18, 2016 06:12 PM UTC

Hi Customer, 
Currently we do not have this support in SfChart and we have logged this as a feature. We will implement it in our Volume 3, 2016 release which is scheduled to be rolled out by the end of September.
As of now, you can set the PlotOffset property of ChartAxis for primary axis and secondary axis to view all the DataMarker labels while zooming.
Disclaimer: The date for the feature implementation is tentative and not a commitment on our parts.

Replied On July 18, 2016 09:05 PM UTC

I believe this is a bug rather than a feature, as the combination of the having data markers and being able to zoom doesn't work together.

However, would you mind providing an example for how to implement the suggested PlotOffset?

Thank you,

Yuvaraj Palanisamy [Syncfusion]
Replied On July 19, 2016 01:14 PM UTC

Hi Tac, 
You can refer the following code snippet to set the PlotOffset for axis. Also we have prepared a sample for your reference. Please find the sample from the below link.
Code :                                    
chart.PrimaryAxis.PlotOffset = 20;
chart.SecondaryAxis.PlotOffset = 20;
   <chart:DateTimeAxis PlotOffset="20"/>          
Regarding “I believe this is a bug rather than a feature
Currently this is our expected behavior and hence we consider this as an enhancement in our current behavior.
Please let us know if you have any queries.


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

or the page will be automatically redirected to 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