a!chartReferenceLine( label, value, showWhen, color, style )
Contains the reference line value for each threshold that is defined on a column, bar, or line chart.
See also:
Name | Keyword | Types | Description |
---|---|---|---|
Label |
|
Text |
Text to display on top of the reference line. |
Value |
|
Decimal |
The numeric value at which the reference line will be drawn. |
Visibility |
|
Boolean |
Determines whether the reference line is displayed on the interface. When set to false, the reference line is hidden and is not evaluated. Default: true. |
Color |
|
Text |
Color for the reference line. Valid values: Any valid hex color or |
Style |
|
Text |
Style of the reference line. Valid values are: |
yAxisStyle
is set to "NONE"
.Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.
Use the interactive editor below to test out your code:
The following patterns include usage of the Chart Reference Line Component.