Combination charts - Example 3
This example creates a combined column and line chart in which the columns represent sales of all products over twelve months. The lines represent sales of the five product groups through four Points of Sale (POS) over the same period.
In this example, you duplicate a data series and amend the cell coordinates of the duplicate to reference a separate data series.
-
Create a report with two pairs of overlapping hyperblocks.
Report RP008 uses hyperblocks created from the Product and Period dimensions in one pair and from the POS and Period dimensions in the second pair. In the Structure Selection pane of the List Designer, only the All Tires element of the Product dimension is selected. For the POS dimension, the four POS are selected: Bodyshops, Dealerships, Gas Stations and Tire Stores. In both pairs of hyperblocks, the Period dimension uses the Descendants function to display only the twelve months of 2016.
- Insert a CELLGET formula in the overlapping value cell of each pair of hyperblocks.
-
Highlight the Product and Period pair of hyperblocks and use the
Chart Wizard to create the default column chart.
In View mode, the chart displays a single column for each month of 2016. The columns represent sales of All Tires in each month. Identify the color of the data series to represent as a column chart.
-
In Design mode, double-click the chart.
A hashed border is displayed.
-
Right-click and select
Data Source.
The Data Source dialog is displayed. The current data series is displayed in the List of Series.
-
Click
Add.
The current data series is duplicated.
-
Select a data series in the List of Series.
In the Categories, Series and Y-Data fields, the cell coordinates of the data series are displayed.
- Replace the cell coordinates with the equivalent coordinates of the second pair of hyperblocks.
-
Click
Apply and then click
OK.
In View Mode, six columns are displayed for each month. Identify the color of the data series which represents product sales by period.
-
In Design mode, double-click the chart.
A hashed border is displayed.
-
Click the second column of sample data.
The column is selected.
-
Right-click the column, and select
Chart Type.
The Chart Type dialog is displayed.
- Select Lines as the chart type and select one of the chart subtypes and click OK.
- Select Lines as the chart type for the third column of sample data.
-
Click
OK.
In View mode, the columns of the chart represent sales of all products over twelve months. Four lines represent the sales of the individual product groups through the four POS over the same period.