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

Align Y-Axis to the right of the chart

Thread ID:

Created:

Updated:

Platform:

Replies:

128907 Feb 15,2017 10:07 AM UTC Feb 20,2017 05:00 AM UTC WPF 3
loading
Tags: SfChart
Varnier
Asked On February 15, 2017 10:07 AM UTC

Hello,

I'd like to know if there is an easy way of aligning the Y-Axis of a serie to the right of the chart. HorizontalAlignment doesn't seem to work and if I understood correctly, Axes are rendered in a StackPanel on the left so I'm a bit dubious about being able to align it on the other side.

Thank you,

T.V.

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On February 16, 2017 12:22 PM UTC

Hi Varnier, 
  
Thanks for contacting Syncfusion Support. 
  
We can place the SecondaryAxis(YAXis) of SfChart to the right side of chart by enabling the OpposedPosition property of the chart axis as shown in the below code snippet, 
 
<chart:SfChart.SecondaryAxis> 
     <chart:NumericalAxis OpposedPosition="True"/> 
</chart:SfChart.SecondaryAxis> 
  
We have prepared a demo sample based on your requirement and it can be downloaded from below link, 
  
Sample: Axis128907 
  
Regards, 
Devi 
 




Varnier
Replied On February 17, 2017 08:19 AM UTC

Hello,

Thank you for your answer, this works perfectly :)

Regards,

T.V.

Santhiya Arulsamy [Syncfusion]
Replied On February 20, 2017 05:00 AM UTC

Hi Varnier,

We are glad to know your problem has been solved.

Let us know if you need any further assistance on this

Thanks,
Santhiya 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

;