BCGSuite for MFC
void CBCGPChartVisualObject::RemoveCustomAxis ( CBCGPChartAxis pAxis,
BOOL  bDeleteRelatedSeries 
)

Removes a custom axis for the chart.

Call this method to remove a custom axis from the chart. If bDeleteRelatedSeries is TRUE this method automatically removes all series that were displayed on this axis. Set it to FALSE if you wish to save the series to show them later on another axis. All chart objects (like lines, text labels, axis marks etc) related to the axis specified by pAxis will be deleted.

Parameters
pAxisSpecifies a pointer to a custom axis to remove.
bDeleteRelatedSeriesIf TRUE, deletes all series displayed on the custom axis.