This article describes how to go from a table containing multiple variables:
To a state where you display the table in a stacked area chart:
Requirements
You will need one of the following:
- A Multiway table.
- A crosstab.
Method
To convert an existing crosstab or multiway table directly into the stacked area visualization, from the object inspector , click Visualization > Area > Stacked Area.
Otherwise:
- From the toolbar, go to Visualization
> Area > Stacked Area.
- Click on the page to place the visualization.
- In the object Inspector
, you have the following options to provide input data to the area chart. Go to Data > Data Source, and select your input crosstab or multiway table from the Data dropdown, or from the Variables dropdown, select an individual variable from the Data Sources tree. Once an item is selected, a second drop-down called Groups will appear in the object inspector. Here, you can select a second variable to create a crosstab.
Note
Note that when there are missing values inside the series (i.e., not at the ends of the series) are present, lines are shown along the edge of an Area Chart, with missing segments between points indicating missing values. Stacked Area Charts cannot be plotted with missing values.