HI_SetGraphXY_XAxisDesc

HI_SetGraphXY_XAxisDesc

%HI_SetGraphXY_XAxisDesc function


Function

The function shows a text on X-axis.

Declaration

%HI_SetGraphXY_XAxisDesc( INT in refId, REAL in _x, TEXT in _text )

Parameters

refId

Reference to graph (reference variable).

_x

Text center on X-axis.

_text

Displayed text. Limit is 35 characters.

Description

The function is intended for XY graph. Value _x is in technical units. Text is centred on value _x.
Texts gained from script are displayed instead of x-axis description. Blank text during the function calling cancels all entered texts and the x-axis description according XY graph configuration is displayed below the x-axis. There can be at most 40 labels.

Example

%HI_SetGraphXY_XAxisDesc( _Graph, 2.0, "Val: 2.0")