Pallav

Bar Chart issue

Recommended Posts

I have a bar chart with 2 bars. Their values will range from 0 to 1. I am hiding the y-Axis labels and am using two trendlines to show words instead of numbers for values. 0 being "None" and 1 being "Severe". Sometimes the chart will have values of 0 for both bars and the chart does not render them correctly. I have specified yAxisMaxValue to 1, but the chart resizes to 0-100 if the data is 0. However if any of the data points are above 0 it renders correctly.

 

 

 

Is this a bug? And is there a better way to show y-Axis values with Words instead of numbers?

 

 

 

thanks.

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

If FusionCharts finds all data as 0, it automatically adjusts all axes to 0-100, to avoid deforming the chart. One option would be to use a value of say 0.0001 instead of 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