HI_SetGraphAxisDesc

HI_SetGraphAxisDesc

%HI_SetGraphAxisDesc function


Function

The function sets a description of given axis of graph / XY graph connected in displayer of Graph.

Declaration

%HI_SetGraphAxisDesc( INT in refId, INT in axisNr, TEXT in _desc )

Parameters

refId

Reference to displayer (reference variable).

axisNr

Axis serial number.

_desc

Axis description.

Description

The function sets the description of Y-axis or X-axis specified by the parameter axisNr. For Y-axis, the description in displayed on the upper part of graph. If axisNr = 0, the description for x-axis will be set. For the time graphs, the color of description is the same as axis and is placed bottom right of graph area. In XY graphs, it is displayed in compliance with configuration of 0-axis also in the bottom part of graph.

Example

%HI_SetGraphAxisDesc(_Graph,1,"New Axis Description")