gtorrico

Errorbar2D -- Incorrect Error Bar Height

Recommended Posts

The height of the errorbars on ErrorBar2D seems to be off when setAdaptiveYMin is set to 1. Please note that all three charts are using same errorValues in the Firebug console.

 

Here is the ErrorBar2D with setAdaptiveYMin set. Notice how the the errorbar only goes up to somewhere below 66 on the y axis:

post-28393-0-85623800-1340737110_thumb.png

 

Here is the ErrorBar2D with setAdaptiveYMin not set. The errorbar goes to approximately 69:

post-28393-0-59759200-1340737119_thumb.png

 

For reference here is a scatter plot with setAdaptiveYMin set. The errorbar again goes to approximately 69:

post-28393-0-26806700-1340737128_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

The height of the errorbars on ErrorBar2D seems to be off when setAdaptiveYMin is set to 1. Please note that all three charts are using same errorValues in the Firebug console.

 

Here is the ErrorBar2D with setAdaptiveYMin set. Notice how the the errorbar only goes up to somewhere below 66 on the y axis:

post-28393-0-85623800-1340737110_thumb.png

 

Here is the ErrorBar2D with setAdaptiveYMin not set. The errorbar goes to approximately 69:

post-28393-0-59759200-1340737119_thumb.png

 

For reference here is a scatter plot with setAdaptiveYMin set. The errorbar again goes to approximately 69:

post-28393-0-26806700-1340737128_thumb.png

 

Hi,

 

Can you paste your XML code here?

Share this post


Link to post
Share on other sites
Guest Sumedh

We are actually using JSON, here is a file containing the JSON for errorbar2d with adaptiveYMin set and not set:

errorbar2d-json.zip

 

Hi,

 

The setAdaptiveYMin attribute lets you set whether the y-axis lower limit would be 0 (in case of all positive values on chart) or should the y-axis lower limit adapt itself to a different figure based on values provided to the chart.

 

And when setAdaptiveYMin='0' chart takes initializes the yAxis min value from "0".

 

For more information, refer this URL: http://docs.fusioncharts.com/powercharts/Contents/?ChartSS/ErrorBar.htm

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi,

 

The setAdaptiveYMin attribute lets you set whether the y-axis lower limit would be 0 (in case of all positive values on chart) or should the y-axis lower limit adapt itself to a different figure based on values provided to the chart.

 

And when setAdaptiveYMin='0' chart takes initializes the yAxis min value from "0".

 

For more information, refer this URL: http://docs.fusionch...SS/ErrorBar.htm

 

Hope this helps.

 

I understand that, but the problem is that the error bar height is incorrect when the value is set to 1. If you look at the screenshots I attached you'll see that the error bar value(12) for the first value (57) should be going up to around 69. When adaptiveYMin is set to 0, this is indeed the case. However, when it is set to 1, it only goes up to around 59. Why is that?

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