BCGSuite for MFC
void CBCGPChartVisualObject::SetAxisName ( int  nAxisID,
const CString &  strName 
)

Sets axis name.

nAxisID can be a custom ID or one of predefined:

  • 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
Parameters
nAxisIDSpecifies axis ID.
strNameSpecifies new axis name.