base.all Function (GPL)

Syntax

base.all()

or

base.all(acrossPanels())

Description

Specifies that the percentage is based on the total count. Summing the percentages of all of the graphic elements in the chart or in each panel equals 100%. If you are using paneling and want to specify the total count across all panels as the percentage base, use the acrossPanels function.

Examples

Figure 1. Example: Specifying the total count as the percentage base
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat),
                  base.all())))
Figure 2. Example: Specifying the total count in each panel as the percentage base
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat*1*gender),
                  base.all())))
Figure 3. Example: Specifying the total count across all panels as the percentage base
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat*1*gender),
                  base.all(acrossPanels()))))