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. Image for the cookie policy date

How would I apply a specific formatting to a NumericalAxis?


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.

1 Reply

SJ Sumathi Jayaraj Syncfusion Team March 9, 2016 10:32 AM UTC

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
Sumathi J

Live Chat Icon For mobile
Up arrow icon