difference Collision Modifier (GPL)
Syntax
<element type>.difference
<element type>. A valid element type.
Description
Clips graphic elements and draws the difference between dichotomous
values. The aesthetic value associated with the greater value in a
group determines the aesthetic for the result. This function is used
to create a difference area graph. It is useful to compare the result
to the one obtained when using the stack
position modifier.
Examples
ELEMENT: area.difference(position(summary.sum(jobcat*salary)), color(gender))