Creating reports with multiple axis charts
Often you will want to have multiple items plotted on a chart. In the previous recipe on charts in Chapter 2, Authoring Reports with SQL Server Data Tools, we plotted a single value over time.
For this recipe, we will plot two values over time, in this case, the Total Sales Amount (Excluding Tax) and the Total Tax Amount. As you might expect though, the tax amounts are going to be a small percentage of the sales amounts. By default, this would create a chart with a huge gap in the middle and a Y Axis that is quite large and difficult to pinpoint values on.
To prevent this, Reporting Services allows us to place a second Y Axis on our charts. With this recipe, we'll explore both adding a second line to our ...
Get SQL Server 2016 Reporting Services Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.