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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CategoryAxis (used as X-Axis) Plot Offset right side only? (Not on both sides)

Thread ID:

Created:

Updated:

Platform:

Replies:

124159 May 21,2016 07:18 PM UTC May 24,2016 05:15 AM UTC UWP 3
loading
Tags: SfChart
William Wang
Asked On May 21, 2016 07:18 PM UTC

CategoryAxis (used as X-Axis)  Plot Offset right side only? (Not on both sides)
Thanks,
William

Rachel A [Syncfusion]
Replied On May 23, 2016 11:27 AM UTC

Hi William, 

Thanks for contacting Syncfusion support. 

PlotOffset property is used for applying padding to the axis on both the ends which is the default behavior.  

We have achieved your requirement, by hooking the ActualRangeChangedEvent in the category axis, with this event we can change the ActualMaximum value of axis through its event arguments. Please find the demo sample from the below link. 


Regards, 
Rachel.A 


William Wang
Replied On May 24, 2016 02:59 AM UTC

Thanks for your support. It's working now.

William

Rachel A [Syncfusion]
Replied On May 24, 2016 05:15 AM UTC

Hi William, 
  
Thanks for the update. 
  
Please let us know if you need any further assistance. 
  
Regards, 
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

;