Sign in to follow this  
sutantijo

Max Axis make strange value

Recommended Posts

Dear all,

 

I have problem when i set the max values, the legend value become only 2 ->0 & the max value.

What i want is as normally have another value in between 0  & max value.

 

 

if i remove the max value the legend value chart is ok.

Or is there any option for divide the value example

 

From

 

0.10,20 ,30,40,50

 

to

 

0,5,10,15,20,25,30,35,40,45,50

 

 

Thank You

 

 

 

post-62535-0-72882900-1393994724_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Could you please provide the XML/JSON used to plot the graph along with the screen shot (marking the requirement on it), so that we may assist you in a better way?

 

Also, please mention the chart type you are using.

 

Awaiting your response.

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Please note that the Y-Axis values of the FusionCharts library is being calculated based on the limiting values (min and max values) and the number of DIV lines (the default value is 4) drawn.

 

Also, if you have not set the min/max values and the number of DIV lines, the chart will automatically select these values, based on the set of data points provided for plotting the graph.

 

So, in your case, it seems you might have set explicitly the "yAxisMinValue", "yAxisMaxValue" and umDivLines="0" in the chart element.

 

However, as per your requirement, if you are willing to set 0,5,10,15,20,25,30,35,40,45,50 instead of 0.10,20 ,30,40,50, please check the below attribute settings:

 

For 0.10,20 ,30,40,50:

<chart adjustDiv='0' numDivLines='4' yAxisMinValue='0' yAxisMaxValue='50'>
...
</chart>

For 0,5,10,15,20,25,30,35,40,45,50

<chart adjustDiv='0' numDivLines='9' yAxisMinValue='0' yAxisMaxValue='50'>
 ...
</chart>

For more information on "XML/JSON Attributes for Divisional Lines", please visit the link: http://docs.fusioncharts.com/charts/contents/AttDesc/DivLines.html

 

Hope this helps!

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