Histogram.ShowPercentage

Prototypes

void ShowPercentage( <boolean bShow> )

Parameters

boolean bShow
If bShow is true, the Y axis and the bar labels display percentages. If bShow is false, the Y axis and the bar 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 Y axis and the bar labels display counts or percentages. If this method is called with bShow equal to false when the plot is not currently showing percentages, the call is ignored.

Example
height = T({ 58 59 60 52 54 56 59 64 57 58 63 62 59 61 59 58 54 58 53 56 });
declare DataObject dobj;
dobj = DataObject.Create( "Student Height", "Height", height );
declare Histogram plot = Histogram.Create( dobj, "Height" );
plot.ShowBarLabels();
plot.ShowPercentage();
See Also

Histogram.ShowBarLabels
Histogram.ShowDensity