"curveScaleUnitVisibility", "curveScaleUnitVisibilityX"
This is used to show or hide the unit next to the scale on the y axis.
Synopsis
setValue(string shape, "curveScaleUnitVisibility", string Name, bool
visible);
getValue(string shape, "curveScaleUnitVisibility", string Name, bool
&visible);
shape.curveScaleUnitVisibility(string Name) = bool visible;
setValue(string shape, "curveScaleUnitVisibilityX", string Name, bool
visible);
getValue(string shape, "curveScaleUnitVisibilityX", string Name, bool
&visible);
shape.curveScaleUnitVisibilityX(string Name) = bool visible;
Parameters
Parameter | Description |
---|---|
curve | Name of the curve |
visible | Switch for unit (FALSE off, TRUE on) |
Description
This function shows (TRUE) or hides (FALSE) the unit on the Y-axis scale for a given trend display curve.
The unit can be set with the existing"curveLegendUnit", "curveLegendUnitX"function. When this function is set to "true", it behaves like "curveLegendUnit", "curveLegendUnitX"(e.g. you can retrieve the unit from a datapoint , …)
Font, color and background are the same as in the scale.
Limitations:
- If the unit is to long, it will be truncated left and right.
- If two units use the same free space one unit will overwrite the other.
- The close symbol in the left bottom corner might be overwritten.
Assignment
Trend