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

How would I apply a specific formatting to a NumericalAxis?

Thread ID:





123324 Mar 8,2016 12:03 PM UTC Mar 9,2016 10:32 AM UTC WPF 1
Tags: SfChart
Jeremie Clos
Asked On March 8, 2016 12:03 PM UTC


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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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