MosaicPlot.ShowPercentage

Prototypes

void ShowPercentage( <boolean bShow> )

Parameters

boolean bShow
If bShow is true, the tile labels display percentages. If bShow is false, the tile labels display counts. Calling this method without a parameter is equivalent to calling it with bShow equal to true.

Remarks

This method controls whether the tile labels display counts or percentages.

Example
vehicle = { "car", "truck", "car", "car", "truck", "van", "motorcycle" };
age = { "new", "new", "old", "new", "old", "old", "new" };
declare DataObject dobj = DataObject.Create( "Vehicles" );
dobj.AddVar( "vehicle", "Vehicle", vehicle );
dobj.AddVar( "age", "Age", age );
declare MosaicPlot plot = MosaicPlot.Create( dobj, "vehicle", "age" );
plot.ShowTileLabels();
plot.ShowPercentage();
See Also

MosaicPlot.ShowTileLabels