void SetAxisLabel( int nAxisID, String sLabel )
void SetAxisLabel( int nAxisID, int nLabelType )
int nAxisID
A predefined constant specifying the axis. The valid values are XAXIS, YAXIS, and ZAXIS.
String sLabel
The new label for the axis.
int nLabelType
A predefined constant specifying how the axis should be labeled. The valid values are AXISLABEL_VARNAME, AXISLABEL_VARLABEL, and AXISLABEL_VARNAMELABEL. See Remarks for further
details.
This method sets the label for an axis.
The nLabelType parameter behaves as follows:
AXISLABEL_VARNAME
The axis is labeled with the variable's name.
AXISLABEL_VARLABEL
The axis is labeled with the variable's label.
AXISLABEL_VARNAMELABEL
The axis is labeled with both the variable's name and the variable's label in the format "name: label".
x = { 1 2 3 4 5 6 7 8 };
y = { 2 1 4 5 6 5 6 9 };
declare ScatterPlot plot = ScatterPlot.Create( "Sample Data", x, y );
plot.SetAxisLabel( YAXIS, "Response" );