BarChart.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.

Example
animals = { "Cat", "Dog", "Cat", "Cat", "Iguana", "Dog", "Bird" };
declare DataObject dobj = DataObject.Create( "Pets", "Animal", animals );
declare BarChart plot = BarChart.Create( dobj, "Animal" );
plot.ShowBarLabels();
plot.ShowPercentage();
See Also

BarChart.ShowBarLabels