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

Chart Lebel value

Thread ID:





120795 Oct 15,2015 07:28 AM UTC Oct 16,2015 12:30 PM UTC ASP.NET Web Forms 3
Tags: Chart
Asked On October 15, 2015 07:28 AM UTC

How to round the chart label value in syncfusion chart.(Type=StackingColumn)

Sanjith Kesavan [Syncfusion]
Replied On October 15, 2015 10:54 AM UTC

Hi Vijaykumar,
Thanks for contacting Syncfusion support. We have analyzed your query. For rounding the chart label values you can use the “LabelFormat” property for the axis. Please find the below code example


In the above code example we have set the “LabelFormat” for the PrimaryXAxis as “N3”. This is used to round the PrimaryXAxis label, with three numbers after the decimal point. Please find the below screenshot.

In the above screenshot PrimaryXAxis labels are rounded three numbers after the decimal points. If the “LabelFormat” is given as “N2” then PrimaryXAxis labels are rounded two numbers after the decimal points.
Suffix added after “N” specify the number of rounding places for the labels.

We have prepared the sample as per your requirement. Please find the sample from below mentioned location.
Sample Link: http://www.syncfusion.com/downloads/support/forum/120793/ze/WebApplication22055509727

If this sample does not meet your requirement, then please let us know by adding more details about your requirement.

Please let us know if you have any concern.

Sanjith K.

Replied On October 15, 2015 01:55 PM UTC

hi Sanjith,

Thanks for quick response. It's  is working fine.
for my case I use the property labelformat=N3 in YAxis then it will so like below. kindly help me.

Sanjith Kesavan [Syncfusion]
Replied On October 16, 2015 12:30 PM UTC

Hi VijayKumar,

Sorry for the inconvenience caused. Image attached in the last update is not visible and so we cannot understand what is the problem you are facing. Please zip the image file and attach it. This will be helpful for us to fix your problem sooner.

Please let us know if you have any concern.

Sanjith K.


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

or the page will be automatically redirected to 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