FusionCharts Support

Scaling of secondary Y-Axis

Recommended Posts

Hi,

 

 

 

I'm having some problems with the minimum value for the secondary Y-Axis scaling for FCF_MSColumn2DLineDY.swf. I'm plotting values from a database, and sometimes it works and sometimes it doesn't. I've been scratching my head, but can't figure out what the problem is.

 

 

 

For example, for today the first chart on this page works fine, whereas on this page it reverts back to 0 for some reason.

 

 

 

Any suggestions?

 

 

 

 

 

Cheers,

 

 

 

 

 

 

 

johan

Share this post


Link to post
Share on other sites

Hi Johan,

 

 

 

In the second chart I find that the sYaxisMinValue is set to 4452 while the minimum value in the dataset for secondary axis is 4051 which is less that 4452.

 

 

 

Hence, the sYaxisMinvalue declaration becomes invalid as the the chart would contain values below the min value. Hence, the min value is reset to 0.

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