BCGSuite for MFC
int CBCGPChartAxis::m_nAxisID

Specifies axis ID.

For custom axes this ID must be set before an axis is added to the Chart visual object.

The default axes have the following predefined IDs:

  • BCGP_CHART_Y_PRIMARY_AXIS
  • BCGP_CHART_Y_SECONDARY_AXIS
  • BCGP_CHART_X_PRIMARY_AXIS
  • BCGP_CHART_X_SECONDARY_AXIS
  • BCGP_CHART_Z_PRIMARY_AXIS
  • BCGP_CHART_Z_SECONDARY_AXIS
  • BCGP_CHART_Y_POLAR_AXIS
  • BCGP_CHART_X_POLAR_AXIS
  • BCGP_CHART_FIRST_CUSTOM_ID

It's recommended to call CBCGPChartVisualObject::GetNextCustomAxisID in order to obtain next available custom axis ID.

You can pass an ID to CBCGPChartVisualObject::GetChartAxis to obtain a pointer to either default, or custom axis.