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
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat),
base.all())))
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat*1*gender),
base.all())))
COORD: rect(dim(1,2))
ELEMENT: interval(position(summary.percent(summary.count(jobcat*1*gender),
base.all(acrossPanels()))))