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.
Syncfusion Feedback

How to change axis location on screen

Thread ID:

Created:

Updated:

Platform:

Replies:

118048 Jan 25,2015 07:05 AM UTC Feb 9,2015 06:44 AM UTC WinRT 3
loading
Tags: Chart
Khawar Nadeem
Asked On January 25, 2015 07:05 AM UTC

Hi.

I want to know how we can change the axis position, to look like a Cartesian graph.

Like this:

I want to be able to center the origins on screen after getting display width and height. Is it possible to do that?

Suresh S [Syncfusion]
Replied On January 26, 2015 09:46 AM UTC

Hi Khawar,


Thanks for using Syncfusion products.


We have analyzed your query and this can be achieved in SfChart by using ShowAxisNextToOrigin property as shown in the below code snippet. We have also prepared a sample based on your requirement.


Please find the sample from the following location.


Code Snippet [XAML]:

<chart:SfChart.PrimaryAxis>

<chart:NumericalAxis ShowAxisNextToOrigin="True"/>

chart:SfChart.PrimaryAxis>

<chart:SfChart.SecondaryAxis>

<chart:NumericalAxis ShowAxisNextToOrigin="True"/>

chart:SfChart.SecondaryAxis>


Please let us know if you require further assistance on this.


Regards,

Suresh S


Attachment: SfChartAxis_9f55c38.zip

Khawar Nadeem
Replied On February 6, 2015 06:37 PM UTC

Hi Khawar,


Thanks for using Syncfusion products.


We have analyzed your query and this can be achieved in SfChart by using ShowAxisNextToOrigin property as shown in the below code snippet. We have also prepared a sample based on your requirement.


Please find the sample from the following location.


Code Snippet [XAML]:

<chart:SfChart.PrimaryAxis>

<chart:NumericalAxis ShowAxisNextToOrigin="True"/>

chart:SfChart.PrimaryAxis>

<chart:SfChart.SecondaryAxis>

<chart:NumericalAxis ShowAxisNextToOrigin="True"/>

chart:SfChart.SecondaryAxis>


Please let us know if you require further assistance on this.


Regards,

Suresh S


Attachment: SfChartAxis_9f55c38.zip

Oh my God, that works so perfectly. Thank you so very much!

Rachel A [Syncfusion]
Replied On February 9, 2015 06:44 AM UTC

Hi Khawar,

Thanks for your response.

Please let us know if you require further assistance on this.

Thanks,

Rachel. A



CONFIRMATION

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.

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

;