BCGSuite for MFC
CBCGPChartAxis* CBCGPChartVisualObject::ReplaceDefaultAxis ( int  nAxisID,
CRuntimeClass *  pCustomAxisRTC 
)

Replaces a default axis with a custom axis.

Use this method to replace a default axis with a custom axis. Both axes will have the same ID specified by nAxisID.

For example:

Copy
class CBCGPMyXAxis : public CBCGPChartAxisX{......};
pChart->ReplaceDefaultAxis(BCGP_CHART_X_PRIMARY_AXIS, RUNTIME_CLASS(CBCGPMyXAxis));
Parameters
nAxisIDSpecifies a default axis ID.
pCustomAxisRTCA pointer to a runtime class of custom axis.