void ShowPercentage( <boolean bShow> )
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.
This method controls whether the Y axis and the bar labels display counts or percentages.
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();