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

Y axis value round off

I am not able to round off the y-axis values, for example, my value is 85.76 my output should be 86, based on that I have to change my y-axis maximum value also. I am setting up an interval with maximum value/number of intervals (ex: 145/4), if I give interval like this till 144(if I round of in dart) only it is appearing, but my max value is 145.

1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team February 4, 2020 11:57 AM UTC

Hi Sundar, 

Greetings from Syncfusion. We have analyzed your query and we would like to let you know that by default, the chart will calculate the intervals based on the axis size and data source. If your data is dynamic and you can’t predict the interval and data, you can also check with rangePadding options in the axis. Here for example, if the rangePadding is round, the range will get rounded to the nearest numeric value. For more information on range padding, find the user guide below. 

So, kindly check whether your requirement is achievable with this range padding option or else provide more information on your query.  


Live Chat Icon For mobile
Up arrow icon