Sets the value of the corresponding indicator property. Indicator property must be of the int type
- Parameters
-
prop_id | Identifier of the indicator property. The value can be one of the following values:
INDICATOR_DIGITS | Accuracy of drawing of indicator values | int |
INDICATOR_HEIGHT | Fixed height of the indicator's window (the preprocessor command ::property indicator_height) | int |
INDICATOR_LEVELS | Number of levels in the indicator window | int |
INDICATOR_LEVELCOLOR | Color of the level line | color sets color for all levels |
INDICATOR_LEVELSTYLE | Style of the level line | sets style for all levels, can be one of following values:
STYLE_SOLID | The pen is solid |
STYLE_DASH | The pen is dashed |
STYLE_DOT | The pen is dotted |
STYLE_DASHDOT | The pen has alternating dashes and dots |
STYLE_DASHDOTDOT | The pen has alternating dashes and double dots |
|
INDICATOR_LEVELWIDTH | Thickness of the level line | int sets width for all levels |
|
prop_value | Value of property |
- Returns
- In case of successful execution, returns true, otherwise - false
Numbering of properties (modifiers) starts from 1 (one) when using the #property directive,
while the function uses numbering from 0 (zero). In case the level number is set incorrectly, indicator
display can differ from the intended one.