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

How to have fixed axis

Thread ID:





125628 Aug 30,2016 01:01 AM UTC Aug 30,2016 01:12 PM UTC WPF 1
Tags: SfChart
Jeremie Clos
Asked On August 30, 2016 01:01 AM UTC


My issue is the following: my custom user control allows the user to select a dataset, and the positions of my axes keeps changing to accommodate the data (while I would like them to stay fixed no matter what). Is there an elegant way to have such a thing? Right now I can achieve it by disabling the ShowAxisNextToOrigin but it looks terrible.

Thank you.

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On August 30, 2016 01:12 PM UTC

Hi Jeremie, 
Thanks for contacting Syncfusion Support. 
If we set ShowNextToOrigin as true, the axis line will move to origin position. Whenever the axis range change the origin position will be changed based on the range.  So that position of axis(origin) keeps changing. In order to make the axis line to be placed in a stable position, we require to false the ShowNextToOrigin. It makes the axis line to be stable in its initial position even though the axis range change. 


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