Sign in to follow this  
mysky

Scaling the bar chart

Recommended Posts

Hello,

I have no issue in creating a bar chart, but I have a wide range of variables and because I have one of the variables, which is very high number it causes the graph to not show the bars for the other lower variables.... My question is: Is there a way to scale the graph to where the high variable does not take as much of the scale of the graph so users can see th lower varibles better???

Example below

<set label="Jan" value="462" />

  <set label="Feb" value="857" />
  <set label="Mar" value="671" />
  <set label="Apr" value="10000" />
  <set label="May" value="761" />
  <set label="Jun" value="960" />
 
 

Share this post


Link to post
Share on other sites

Hi,

 

Please try setting the "yAxisMinValue" explicitly or set the attribute "setAdaptiveYMin" to '1' in the <chart> element to show a smaller difference in the dataplots.

 

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