Sign in to follow this  
Akhila Hebbar

Autoscaling y axis values in Fusion Charts XT Trial

Recommended Posts

Hi People,

 

We are facing some problems with Fusion Charts Scaling on Y axis. Please find the Screen shot attached.

 

Why is the upper most value not 0.3 ? There are no values above that range and still the graph appears till 0.5 which does not make sense.

 

This is one of the issues pointed by our client and is very critical. Need fix/help urgently.

 

Thanks and Regards,

Akhilapost-65422-0-66068000-1425547055_thumb.png

 

Share this post


Link to post
Share on other sites

Hi Akhila,

 

Could you please confirm if you have set any max-value for the y-axis of your chart?

 

You can also share the scaled down chart data so that we can test it at our end too and assist accordingly.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

We have not set Max value for the Y Axis and it scales perfectly fine for most of the scenarios. But in certain cases, it shows up like the one shared in the image.

 

PFB the chart data as requested.

 

We have 3 series and sharing data for all 3 series

 

Series 1 

[{"label":"00:00-00:15","Value":0.000},{"label":"00:15-00:30","Value":0.000},{"label":"00:30-00:45","Value":0.001},{"label":"00:45-01:00","Value":0.000},{"label":"01:00-01:15","Value":0.000},{"label":"01:15-01:30","Value":0.000},{"label":"01:30-01:45","Value":0.000},{"label":"01:45-02:00","Value":0.000},{"label":"02:00-02:15","Value":0.000},{"label":"02:15-02:30","Value":0.000},{"label":"02:30-02:45","Value":0.000},{"label":"02:45-03:00","Value":0.000},{"label":"03:00-03:15","Value":0.000},{"label":"03:15-03:30","Value":0.001},{"label":"03:30-03:45","Value":0.000},{"label":"03:45-04:00","Value":0.000},{"label":"04:00-04:15","Value":0.000},{"label":"04:15-04:30","Value":0.000},{"label":"04:30-04:45","Value":0.000},{"label":"04:45-05:00","Value":0.000},{"label":"05:00-05:15","Value":0.000},{"label":"05:15-05:30","Value":0.000},{"label":"05:30-05:45","Value":0.000},{"label":"05:45-06:00","Value":0.001},{"label":"06:00-06:15","Value":0.000},{"label":"06:15-06:30","Value":0.000},{"label":"06:30-06:45","Value":0.000},{"label":"06:45-07:00","Value":0.000},{"label":"07:00-07:15","Value":0.001},{"label":"07:15-07:30","Value":0.002},{"label":"07:30-07:45","Value":0.007},{"label":"07:45-08:00","Value":0.012},{"label":"08:00-08:15","Value":0.016},{"label":"08:15-08:30","Value":0.035},{"label":"08:30-08:45","Value":0.066},{"label":"08:45-09:00","Value":0.079},{"label":"09:00-09:15","Value":0.073},{"label":"09:15-09:30","Value":0.053},{"label":"09:30-09:45","Value":0.022},{"label":"09:45-10:00","Value":0.016},{"label":"10:00-10:15","Value":0.041},{"label":"10:15-10:30","Value":0.047},{"label":"10:30-10:45","Value":0.076},{"label":"10:45-11:00","Value":0.056},{"label":"11:00-11:15","Value":0.068},{"label":"11:15-11:30","Value":0.057},{"label":"11:30-11:45","Value":0.051},{"label":"11:45-12:00","Value":0.051},{"label":"12:00-12:15","Value":0.034},{"label":"12:15-12:30","Value":0.035},{"label":"12:30-12:45","Value":0.057},{"label":"12:45-13:00","Value":0.061},{"label":"13:00-13:15","Value":0.032},{"label":"13:15-13:30","Value":0.025},{"label":"13:30-13:45","Value":0.051},{"label":"13:45-14:00","Value":0.040},{"label":"14:00-14:15","Value":0.040},{"label":"14:15-14:30","Value":0.035},{"label":"14:30-14:45","Value":0.030},{"label":"14:45-15:00","Value":0.024},{"label":"15:00-15:15","Value":0.052},{"label":"15:15-15:30","Value":0.029},{"label":"15:30-15:45","Value":0.060},{"label":"15:45-16:00","Value":0.050},{"label":"16:00-16:15","Value":0.043},{"label":"16:15-16:30","Value":0.026},{"label":"16:30-16:45","Value":0.030},{"label":"16:45-17:00","Value":0.033},{"label":"17:00-17:15","Value":0.030},{"label":"17:15-17:30","Value":0.020},{"label":"17:30-17:45","Value":0.012},{"label":"17:45-18:00","Value":0.021},{"label":"18:00-18:15","Value":0.010},{"label":"18:15-18:30","Value":0.003},{"label":"18:30-18:45","Value":0.000},{"label":"18:45-19:00","Value":0.000},{"label":"19:00-19:15","Value":0.000},{"label":"19:15-19:30","Value":0.000},{"label":"19:30-19:45","Value":0.000},{"label":"19:45-20:00","Value":0.000},{"label":"20:00-20:15","Value":0.000},{"label":"20:15-20:30","Value":0.000},{"label":"20:30-20:45","Value":0.000},{"label":"20:45-21:00","Value":0.000},{"label":"21:00-21:15","Value":0.000},{"label":"21:15-21:30","Value":0.001},{"label":"21:30-21:45","Value":0.000},{"label":"21:45-22:00","Value":0.000},{"label":"22:00-22:15","Value":0.000},{"label":"22:15-22:30","Value":0.000},{"label":"22:30-22:45","Value":0.000},{"label":"22:45-23:00","Value":0.000},{"label":"23:00-23:15","Value":0.000},{"label":"23:15-23:30","Value":0.000},{"label":"23:30-23:45","Value":0.000},{"label":"23:45-00:00","Value":0.000}]

 

Series 2 

 

[{"label":"00:00-00:15","Value":0.000},{"label":"00:15-00:30","Value":0.000},{"label":"00:30-00:45","Value":0.000},{"label":"00:45-01:00","Value":0.000},{"label":"01:00-01:15","Value":0.000},{"label":"01:15-01:30","Value":0.000},{"label":"01:30-01:45","Value":0.000},{"label":"01:45-02:00","Value":0.000},{"label":"02:00-02:15","Value":0.000},{"label":"02:15-02:30","Value":0.000},{"label":"02:30-02:45","Value":0.000},{"label":"02:45-03:00","Value":0.000},{"label":"03:00-03:15","Value":0.000},{"label":"03:15-03:30","Value":0.000},{"label":"03:30-03:45","Value":0.000},{"label":"03:45-04:00","Value":0.000},{"label":"04:00-04:15","Value":0.000},{"label":"04:15-04:30","Value":0.000},{"label":"04:30-04:45","Value":0.000},{"label":"04:45-05:00","Value":0.000},{"label":"05:00-05:15","Value":0.000},{"label":"05:15-05:30","Value":0.000},{"label":"05:30-05:45","Value":0.000},{"label":"05:45-06:00","Value":0.000},{"label":"06:00-06:15","Value":0.000},{"label":"06:15-06:30","Value":0.000},{"label":"06:30-06:45","Value":0.000},{"label":"06:45-07:00","Value":0.000},{"label":"07:00-07:15","Value":0.000},{"label":"07:15-07:30","Value":0.000},{"label":"07:30-07:45","Value":0.000},{"label":"07:45-08:00","Value":0.000},{"label":"08:00-08:15","Value":0.000},{"label":"08:15-08:30","Value":0.002},{"label":"08:30-08:45","Value":0.012},{"label":"08:45-09:00","Value":0.018},{"label":"09:00-09:15","Value":0.015},{"label":"09:15-09:30","Value":0.011},{"label":"09:30-09:45","Value":0.001},{"label":"09:45-10:00","Value":0.001},{"label":"10:00-10:15","Value":0.006},{"label":"10:15-10:30","Value":0.000},{"label":"10:30-10:45","Value":0.000},{"label":"10:45-11:00","Value":0.001},{"label":"11:00-11:15","Value":0.006},{"label":"11:15-11:30","Value":0.003},{"label":"11:30-11:45","Value":0.003},{"label":"11:45-12:00","Value":0.004},{"label":"12:00-12:15","Value":0.000},{"label":"12:15-12:30","Value":0.000},{"label":"12:30-12:45","Value":0.000},{"label":"12:45-13:00","Value":0.000},{"label":"13:00-13:15","Value":0.000},{"label":"13:15-13:30","Value":0.000},{"label":"13:30-13:45","Value":0.000},{"label":"13:45-14:00","Value":0.000},{"label":"14:00-14:15","Value":0.000},{"label":"14:15-14:30","Value":0.000},{"label":"14:30-14:45","Value":0.000},{"label":"14:45-15:00","Value":0.000},{"label":"15:00-15:15","Value":0.003},{"label":"15:15-15:30","Value":0.000},{"label":"15:30-15:45","Value":0.004},{"label":"15:45-16:00","Value":0.001},{"label":"16:00-16:15","Value":0.002},{"label":"16:15-16:30","Value":0.000},{"label":"16:30-16:45","Value":0.000},{"label":"16:45-17:00","Value":0.000},{"label":"17:00-17:15","Value":0.001},{"label":"17:15-17:30","Value":0.000},{"label":"17:30-17:45","Value":0.000},{"label":"17:45-18:00","Value":0.000},{"label":"18:00-18:15","Value":0.000},{"label":"18:15-18:30","Value":0.000},{"label":"18:30-18:45","Value":0.000},{"label":"18:45-19:00","Value":0.000},{"label":"19:00-19:15","Value":0.000},{"label":"19:15-19:30","Value":0.000},{"label":"19:30-19:45","Value":0.000},{"label":"19:45-20:00","Value":0.000},{"label":"20:00-20:15","Value":0.000},{"label":"20:15-20:30","Value":0.000},{"label":"20:30-20:45","Value":0.000},{"label":"20:45-21:00","Value":0.000},{"label":"21:00-21:15","Value":0.000},{"label":"21:15-21:30","Value":0.000},{"label":"21:30-21:45","Value":0.000},{"label":"21:45-22:00","Value":0.000},{"label":"22:00-22:15","Value":0.000},{"label":"22:15-22:30","Value":0.000},{"label":"22:30-22:45","Value":0.000},{"label":"22:45-23:00","Value":0.000},{"label":"23:00-23:15","Value":0.000},{"label":"23:15-23:30","Value":0.000},{"label":"23:30-23:45","Value":0.000},{"label":"23:45-00:00","Value":0.000}]

 

 

Series 3

 

[{"label":"00:00-00:15","Value":0.010},{"label":"00:15-00:30","Value":0.009},{"label":"00:30-00:45","Value":0.010},{"label":"00:45-01:00","Value":0.010},{"label":"01:00-01:15","Value":0.011},{"label":"01:15-01:30","Value":0.008},{"label":"01:30-01:45","Value":0.010},{"label":"01:45-02:00","Value":0.010},{"label":"02:00-02:15","Value":0.010},{"label":"02:15-02:30","Value":0.009},{"label":"02:30-02:45","Value":0.010},{"label":"02:45-03:00","Value":0.010},{"label":"03:00-03:15","Value":0.010},{"label":"03:15-03:30","Value":0.010},{"label":"03:30-03:45","Value":0.009},{"label":"03:45-04:00","Value":0.010},{"label":"04:00-04:15","Value":0.010},{"label":"04:15-04:30","Value":0.009},{"label":"04:30-04:45","Value":0.011},{"label":"04:45-05:00","Value":0.010},{"label":"05:00-05:15","Value":0.010},{"label":"05:15-05:30","Value":0.009},{"label":"05:30-05:45","Value":0.009},{"label":"05:45-06:00","Value":0.010},{"label":"06:00-06:15","Value":0.011},{"label":"06:15-06:30","Value":0.009},{"label":"06:30-06:45","Value":0.009},{"label":"06:45-07:00","Value":0.009},{"label":"07:00-07:15","Value":0.008},{"label":"07:15-07:30","Value":0.009},{"label":"07:30-07:45","Value":0.010},{"label":"07:45-08:00","Value":0.009},{"label":"08:00-08:15","Value":0.005},{"label":"08:15-08:30","Value":0.001},{"label":"08:30-08:45","Value":0.000},{"label":"08:45-09:00","Value":0.000},{"label":"09:00-09:15","Value":0.000},{"label":"09:15-09:30","Value":0.000},{"label":"09:30-09:45","Value":0.000},{"label":"09:45-10:00","Value":0.001},{"label":"10:00-10:15","Value":0.000},{"label":"10:15-10:30","Value":0.001},{"label":"10:30-10:45","Value":0.001},{"label":"10:45-11:00","Value":0.004},{"label":"11:00-11:15","Value":0.002},{"label":"11:15-11:30","Value":0.016},{"label":"11:30-11:45","Value":0.009},{"label":"11:45-12:00","Value":0.008},{"label":"12:00-12:15","Value":0.011},{"label":"12:15-12:30","Value":0.015},{"label":"12:30-12:45","Value":0.027},{"label":"12:45-13:00","Value":0.022},{"label":"13:00-13:15","Value":0.040},{"label":"13:15-13:30","Value":0.035},{"label":"13:30-13:45","Value":0.022},{"label":"13:45-14:00","Value":0.053},{"label":"14:00-14:15","Value":0.058},{"label":"14:15-14:30","Value":0.047},{"label":"14:30-14:45","Value":0.039},{"label":"14:45-15:00","Value":0.025},{"label":"15:00-15:15","Value":0.011},{"label":"15:15-15:30","Value":0.015},{"label":"15:30-15:45","Value":0.007},{"label":"15:45-16:00","Value":0.011},{"label":"16:00-16:15","Value":0.011},{"label":"16:15-16:30","Value":0.015},{"label":"16:30-16:45","Value":0.015},{"label":"16:45-17:00","Value":0.008},{"label":"17:00-17:15","Value":0.002},{"label":"17:15-17:30","Value":0.008},{"label":"17:30-17:45","Value":0.010},{"label":"17:45-18:00","Value":0.020},{"label":"18:00-18:15","Value":0.030},{"label":"18:15-18:30","Value":0.024},{"label":"18:30-18:45","Value":0.016},{"label":"18:45-19:00","Value":0.015},{"label":"19:00-19:15","Value":0.019},{"label":"19:15-19:30","Value":0.017},{"label":"19:30-19:45","Value":0.012},{"label":"19:45-20:00","Value":0.015},{"label":"20:00-20:15","Value":0.014},{"label":"20:15-20:30","Value":0.016},{"label":"20:30-20:45","Value":0.015},{"label":"20:45-21:00","Value":0.014},{"label":"21:00-21:15","Value":0.012},{"label":"21:15-21:30","Value":0.011},{"label":"21:30-21:45","Value":0.011},{"label":"21:45-22:00","Value":0.011},{"label":"22:00-22:15","Value":0.009},{"label":"22:15-22:30","Value":0.009},{"label":"22:30-22:45","Value":0.007},{"label":"22:45-23:00","Value":0.007},{"label":"23:00-23:15","Value":0.007},{"label":"23:15-23:30","Value":0.009},{"label":"23:30-23:45","Value":0.009},{"label":"23:45-00:00","Value":0.008}]

 

 

 

Anticipating your help.

 

Thanks and Regards,

Akhila

Share this post


Link to post
Share on other sites

Hi,

Resharing the series data again. Please ignore the old data sent.

 

Series 1

 

[{"label":"00:00-01:00","Value":0.001},{"label":"01:00-02:00","Value":0.000},{"label":"02:00-03:00","Value":0.000},{"label":"03:00-04:00","Value":0.001},{"label":"04:00-05:00","Value":0.000},{"label":"05:00-06:00","Value":0.001},{"label":"06:00-07:00","Value":0.000},{"label":"07:00-08:00","Value":0.022},{"label":"08:00-09:00","Value":0.196},{"label":"09:00-10:00","Value":0.164},{"label":"10:00-11:00","Value":0.220},{"label":"11:00-12:00","Value":0.227},{"label":"12:00-13:00","Value":0.187},{"label":"13:00-14:00","Value":0.148},{"label":"14:00-15:00","Value":0.129},{"label":"15:00-16:00","Value":0.191},{"label":"16:00-17:00","Value":0.132},{"label":"17:00-18:00","Value":0.083},{"label":"18:00-19:00","Value":0.013},{"label":"19:00-20:00","Value":0.000},{"label":"20:00-21:00","Value":0.000},{"label":"21:00-22:00","Value":0.001},{"label":"22:00-23:00","Value":0.000},{"label":"23:00-00:00","Value":0.000}]

 

Series 2

 

[{"label":"00:00-01:00","Value":0.000},{"label":"01:00-02:00","Value":0.000},{"label":"02:00-03:00","Value":0.000},{"label":"03:00-04:00","Value":0.000},{"label":"04:00-05:00","Value":0.000},{"label":"05:00-06:00","Value":0.000},{"label":"06:00-07:00","Value":0.000},{"label":"07:00-08:00","Value":0.000},{"label":"08:00-09:00","Value":0.032},{"label":"09:00-10:00","Value":0.028},{"label":"10:00-11:00","Value":0.007},{"label":"11:00-12:00","Value":0.016},{"label":"12:00-13:00","Value":0.000},{"label":"13:00-14:00","Value":0.000},{"label":"14:00-15:00","Value":0.000},{"label":"15:00-16:00","Value":0.008},{"label":"16:00-17:00","Value":0.002},{"label":"17:00-18:00","Value":0.001},{"label":"18:00-19:00","Value":0.000},{"label":"19:00-20:00","Value":0.000},{"label":"20:00-21:00","Value":0.000},{"label":"21:00-22:00","Value":0.000},{"label":"22:00-23:00","Value":0.000},{"label":"23:00-00:00","Value":0.000}]

 

 

Series 3

 

[{"label":"00:00-01:00","Value":0.039},{"label":"01:00-02:00","Value":0.039},{"label":"02:00-03:00","Value":0.039},{"label":"03:00-04:00","Value":0.039},{"label":"04:00-05:00","Value":0.040},{"label":"05:00-06:00","Value":0.038},{"label":"06:00-07:00","Value":0.038},{"label":"07:00-08:00","Value":0.036},{"label":"08:00-09:00","Value":0.006},{"label":"09:00-10:00","Value":0.001},{"label":"10:00-11:00","Value":0.006},{"label":"11:00-12:00","Value":0.035},{"label":"12:00-13:00","Value":0.075},{"label":"13:00-14:00","Value":0.150},{"label":"14:00-15:00","Value":0.169},{"label":"15:00-16:00","Value":0.044},{"label":"16:00-17:00","Value":0.049},{"label":"17:00-18:00","Value":0.040},{"label":"18:00-19:00","Value":0.085},{"label":"19:00-20:00","Value":0.063},{"label":"20:00-21:00","Value":0.059},{"label":"21:00-22:00","Value":0.045},{"label":"22:00-23:00","Value":0.032},{"label":"23:00-00:00","Value":0.033}]

 

 

The Data I shared in my earlier post works fine, But this one, i shared currently has problems.

 

Waiting for your response.

 

Thanks and Regards,

Akhila

Share this post


Link to post
Share on other sites

Hi,

 

Could you please make use of the "adjustDiv" attribute and set it to 0. 

 

Ref. demo fiddle:  http://jsfiddle.net/moonmi/hh0Lzsub/

 

With automatic disabling of div lines, you can give max and min value for y-axis as per your requirement. 

 

Ref. doc : http://docs.fusioncharts.com/tutorial-configuring-your-chart-div-lines-and-grids.html

 

Implementation fiddle: http://jsfiddle.net/fusioncharts/FUmug/

 

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