XAxis
GraphLayer
public
Axis XAxis
EX1
// Show the graph layer's top axis ticks and lables. void GraphLayer_XAxis_ex1() { GraphLayer gl = Project.ActiveLayer(); if ( gl ) { const bool bShow = true; Axis x = gl.XAxis; x.AxisObjects(AXISOBJPOS_AXIS_SECOND).TopTicks.Show.nVal = bShow; x.AxisObjects(AXISOBJPOS_LABEL_SECOND).TopLabels.Show.nVal = bShow; gl.GetPage().Refresh(TRUE); } }
origin.h