SAIL Design System guidance available for Charts
Every chart should tell a story. What does yours say? Learn how to build rich reporting dashboards that provide users with visualizations of their data. |
a!chartReferenceLine( label, value, showWhen, color, style )
Contains the reference line value for each threshold that is defined on a column, bar, line, or area chart.
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"
.This example demonstrate how to configure a chart using categories and series. For examples on using record data, see Chart Configuration Using Record Data.
Use the interactive editor below to test out your code:
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
The following patterns include usage of the Chart Reference Line Component.
Chart Reference Line Component