Sign in to follow this  
gurusironmani

How To Change Y-Axis Scale Value?

Recommended Posts

Hi,

 

can any one explain, how to change the desired Y-axis scale value. for example i have Min value = 0 and Max value = 1930 and numdivlines = 4,

now the chart shows the divline values of 0,388, 776, 1164, 1552, 1934.

but i need to round off to near whole no multiples by 10 or 100. like 0, 400, 800, 1200, 1600, 2000.

if its possible?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Welcome to FusionCharts Forum!smile.gif

 

In FusionCharts, the axis limits encompasses all values present in the chart i.e., no data value can be below the minimum y-axis value or above maximum y-axis value - they have to be within axis range. Even if you force an axis limit that is lower/higher than this, FusionCharts will automatically adjust it.

 

You would need to manually provide the div line values as per your requirement.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Welcome to FusionCharts Forum! smile.gif

 

Divisional lines are horizontal lines running through the canvas. They break up the y-axis into smaller units helping in better visual data interpretation.

 

First of all, you would need to decide the number of units required to break the y-axis.

 

Then, you can use the <numDivLines> attribute to decide the number of divisional lines you want.

For more details, please visit the link: http://www.fusioncha...c/DivLines.html

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this