BCGSuite for MFC
virtual CBCGPChartAxis* CBCGPChartVisualObject::GetChartAxis ( int  nAxisID) const
virtual

Returns a pointer to an axis.

Use this method to get access to default or custom axes.

nAxisID should be one of the following predefined values to get a default axis:

  • BCGP_CHART_Y_PRIMARY_AXIS - primary Y axis
  • BCGP_CHART_Y_SECONDARY_AXIS - secondary Y axis
  • BCGP_CHART_X_PRIMARY_AXIS - primary X axis
  • BCGP_CHART_X_SECONDARY_AXIS - secondary X axis
  • BCGP_CHART_Z_PRIMARY_AXIS - primary Z axis
  • BCGP_CHART_Z_SECONDARY_AXIS - secondary Z axis
  • BCGP_CHART_Y_POLAR_AXIS - Y polar axis
  • BCGP_CHART_X_POLAR_AXIS - X polar axis
  • BCGP_CHART_A_TERNARY_AXIS - ternary axis for component A
  • BCGP_CHART_B_TERNARY_AXIS - ternary axis for component B
  • BCGP_CHART_C_TERNARY_AXIS - ternary axis for component C

All custom axes must have IDs beginning from BCGP_CHART_FIRST_CUSTOM_ID. The next available custom axis ID is returned by GetNextCustomAxisID().

Parameters
nAxisIDSpecifies an axis ID.