"curveRulerLabelVisibility", "curveRulerLabelVisibilityX"
With the trend attribute "curveRulerLabelVisibility" or "curveRulerLabelVisibilityX" you can display or hide the accurate value for a horizontal ruler of a trend curve.
Synopsis
shape.curveRulerLabelVisibility(string curve, bool visible);
setValue(string shape,"curveRulerLabelVisibility",string curve, bool
visible);
getValue(string shape,"curveRulerLabelVisibility",string curve, bool
visible);
shape.curveRulerLabelVisibilityX(string curve, bool visible);
setValue(string shape,"curveRulerLabelVisibilityX",string curve, bool
visible);
getValue(string shape,"curveRulerLabelVisibilityX",string curve, bool
visible);
Parameter
Parameter | Description |
---|---|
curve | The trend curve the accurate value is shown or hidden. |
visible |
TRUE = the accurate value of the ruler is shown. FALSE = the label of the ruler is hidden. |
Description
With the trend attribute "curveRulerLabelVisibility" or curveRulerLabelVisibilityX you can display or hide the accurate value for a horizontal ruler of a trend curve.
Note that you have to set the config entry trendEnableCurveRulers = 1 in the UI section of the config file in order to use this attribute.
Note also that the accurate value is shown when you move the ruler even if you do not use this attribute. Note that this only applies to a ruler that is moved.
Example
This example displays the accurate value for the horizontal ruler of a trend curve.
main()
{
TREND1.curveRulerLabelVisibility("#1_1",TRUE);
}
Assignment
Trend