Sign in to follow this  
mysky

Changing hight of bar on combination chart - line and bar chart

Recommended Posts

Hello,

I have created a very nice graph with at combination of Bar and Line.  The problem is my boss wants the bar part of the chart to not be has high as it is.  The only way I can find to make it smaller is to put in a smaller value, but then the value is not correct when viewing the chart.  Is there any way to put a "value" as a smaller number then have the display text for the bar chart be a another number?  Or any ideas on how to do this.

Thanks,

Share this post


Link to post
Share on other sites

Hi,

 
I am sorry, to changing the bar height in chart(s) is not supported as of now.
 
But this can be a solution that, If you try to increase the Primary Y Axis Maximum value (  yAxisMaxValue='value' ) to some larger value than the current value then bar'll automatically adjust its height accordingly, & it appears to be smaller than the previous one.
 
Example:
 
Before (default):

<chart caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showValues='0' decimals='0' formatNumberScale='0'>

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

<set label='Feb' value='857' />

<set label='Mar' value='671' />

<set label='Apr' value='494' />

</chart> 

 
After (using yAxisMaxValue attribute):

<chart yAxisMaxValue='1500' caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showValues='0' decimals='0' formatNumberScale='0'>

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

<set label='Feb' value='857' />

<set label='Mar' value='671' />

<set label='Apr' value='494' />

</chart> 

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