Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi I want to know how to change the proportions of my bar graph so that the y axis always shows the target line.
Currently the max value of the biggest bar is 1.4mil however the target line is set at 1.75mil and the graph regardless of whether it is maximised will only show up to 1.4 mil.
Many thanks
Hi,
You can use the Scales options for static Scale as shown in below image.
Regards
Krishnapriya
Have you tried using Static Max of may be 1.8 million?
You could put an expression in for Static Max. Maybe 10% bigger than whichever is the largest of either or Target of your biggest bar. This should then remain ok even when your data / targets change.
Thanks Bill - I think this would be the best solution since the bars vary. What would this expression look like ?
May be something like this;
RangeMax(YourExpressionForBars, YourExpressionForTarget) * 1.10
RangeMax(Max(Aggr(YourExpressionForBars, YourChartDimensions)), YourExpressionForTarget) * 1.10
Sorry to sound stupid but I have multiple bars so more than one expression. Will these simply all be inserted separated via comma ?
Yes within the RangeMax() function you can specify all different expressions (comma separated) and it will give you the max out of all the expressions.