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.

How would I apply a specific formatting to a NumericalAxis?

Thread ID:

Created:

Updated:

Platform:

Replies:

123324 Mar 8,2016 07:03 AM Mar 9,2016 05:32 AM WPF 1
loading
Tags: SfChart
Jeremie Clos
Asked On March 8, 2016 07:03 AM

Hi,

I would like to apply some formatting to a NumericalAxis, without changing the underlying value that is represented. In this case I would like all values of the axis to be converted into their absolute value (apply Math.Abs() to all the labels), but I am not sure how.

Sumathi Jayaraj [Syncfusion]
Replied On March 9, 2016 05:32 AM

Hi Jeremie,
 
Thanks for contacting Syncfusion Support.
 
By invoking LabelCreated event in the chart axis, we can change the axis labels to its absolute value without changing the underlying model values. We have prepared a sample and it can be downloaded from the following location.
 
Sample: FormatSample
 
Regards,
Sumathi J

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.

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.

;