LayerGetAxisUserLabelAttribsΒΆ

LayerGetAxisUserLabelAttribs returns the display attributes for axis labels.

nAttrib = LayerGetAxisUserLabelAttribs(hLayer, ssXYZ)

Return Value

nAttrib is an OR combination of the following values:

Define Value Description
AXIS_USERLABEL_ENABLE 1 Display user labels. At least one label must be specified.
AXIS_STANDARDLABEL_DISABLE 2 Standard labels are not displayed.
AXIS_USERLABEL_SKIPOVERLAP 4 Overlapping labels are not displayed. If a user label overlaps with a standard label, the standard label is not plotted.
AXIS_USERLABEL_SHOWGRID 8 Grid lines are displayed for user labels.
AXIS_USERLABEL_AUTOLOAD 16 Labels will be updated if data is loaded

Parameters

hLayer

Identifies the layer.

ssXYZ

ssXYZ is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis.

Example

smEnum = ["1", "On";
          "0", "Off"];
LayerSetAxisUserLabel(hLayer, "Y", smEnum);
LayerSetAxisUserLabelAttribs(hLayer, "Y", ...
       AXIS_USERLABEL_ENABLE | AXIS_STANDARDLABEL_DISABLE | AXIS_USERLABEL_SKIPOVERLAP);

History

Version Description
R2014 New.

id-303498