void ShowAxis( int nAxisID <, boolean bShow> )
int nAxisID
A predefined constant specifying the axis. The valid values are XAXIS and YAXIS.
boolean bShow
If bShow is true, the specified axis is displayed. If bShow is false, the specified axis is hidden. Calling this method without specifying the bShow
parameter is equivalent to calling it with bShow equal to true.
This method shows or hides an axis. Calls to this method are ignored by the RotatingPlot class.
animals = { "Cat", "Dog", "Cat", "Cat", "Iguana", "Dog", "Bird" }; declare DataObject dobj; dobj = DataObject.Create( "Pets", "Animal", animals ); declare BarChart plot; plot = BarChart.Create( dobj, "Animal" ); plot.ShowBarLabels(); plot.ShowAxis( YAXIS, false );