jesser

Yaxisminvalue Overwritten By 0

Recommended Posts

Hi,

 

Im trying to set the yAxisMinValue on a single Y axis chart,

But it is always overwritten with 0 ,with or without setAdaptiveYMin='1'

(below example is with setAdaptiveYMin='1')

even only setting adaptive Y settings sets the Y just to 0 although the min point on the chart is far higher,

Is there any way to overwrite any behaviour that fusionchart has build in like checking if max is lower then the max values in the chart and min is higher that the predetermined min

(which is set to 0 of the chart is positive) and the overwrite it by its own determined min/max value instead of tolerating the users choice

in the example.xml below you can see the min value is not respected while the max value is

ever though the min value is the lowest value in the chart,

I would not expect this to be desired behaviour?

the example us being used with ScrollLine2D.swf

thanks in advance

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! :)

 

Please try not giving any blank <dataset> element in the XML. Blank elements are natively considered to be '0' hence the Y-axis minimum value is always displayed '0' .

 

Please refer to the attached screen-shot of the rendered chart using your XML, without mentioning the blank <dataset> element is rendering perfectly.

 

Hope this helps. :)

 

post-8144-057957000 1290171708_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the reply,

As you mentioned it i checked the XML again and found that not the blank dataset was causing the problem,

but the VOC dataset has as a final <set> a value of 0.00 which caused the problem

 

thanks alot for your assistance, it was driving me a but nuts at times :)

Share this post


Link to post
Share on other sites

Hi,

 

You are welcome. :)

 

Glad that your issue is resolved.

 

Happy FusionCharting! :)

 

 

Dear Admin

 

I too face the simillar issue in setting Y-axis min value to my custom required. This always set back to '0' value.

 

I have attached image of the graph generating and the data used to generate this view.

 

Regards

--Nanda

post-35867-0-97198600-1359449521_thumb.jpg

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