After binding a chart to a dataset in the spreadsheet, SAP BusinessObjects Dashboards makes up a scale on the y axis by default, based on the lowest and highest values in the visualized dataset. The problem with this auto-scaling is that it creates a y-axis that doesn't start with 0, which may cause a bad interpretation of the data.
In the following screenshot, the same results are presented in two bar charts. The chart on the left-hand side gives the indication that Product B has performed a lot better than Product A; the bar is more than two times larger! This is, of course, wrong, as the y-axis starts at $470,000. The chart on the right-hand side shows a version that is much more useful for analysis.
You can reuse any of the dashboards you have already made with chart components. In this recipe, we will use the dashboard created in the Adding a line chart to your dashboard recipe.
0
under Minimum Limit and 1000
under Maximum Limit.200
and Minor Divisions to 1
:The y-axis of the chart will now have a fixed minimum and maximum limit. Remember that this also means that values higher than 1000 won't be displayed correctly with these settings. They will be placed on the maximum value (1000) of this chart.
The Fixed Label Size option keeps the labels on the y-axis readable. 1,000 is 1K, 1,000,000 is 1M, a billion is 1B, and a trillion is 1T.
We conclude this recipe with two additional options regarding scaling the y-axis: variable maximum limits and Allow Zoom Out Only.
To make sure that values in the dataset never pass the maximum limit, we can use a variable maximum limit by following these steps:
=MAX(B5:E7)
. This will result in the maximum value of the range B5 through E7.=ROUNDUP((MAX(B5:E7)),-3)
. The -3 indicates that the value will be rounded up to the nearest thousand. So if the maximum value is 1978, the maximum limit on the y-axis will be 2000. -1 rounds to the nearest tens, -2 to the nearest hundred, and so on.If you do want to use an automatic axis, SAP BusinessObjects Dashboards offers the Allow Zoom Out Only option. This option is only useful if a dataset that is presented in a chart is variable (for example, by switching with a selector; see Chapter 3, From a Static to an Interactive Dashboard). By selecting this option, the y-axis will only scale to larger values when a dataset with higher values is presented. If the values are lower, the scale will not change. With the slider, you can set the sensitivity of the growth factor.