Rule
A reference line
A dashed line across the chart: a target, an average, a threshold. Goes in a Chart's marks.
Methods
Rule(options)AnyA dashed line across the chart: a target, an average, a threshold.
- options Any required
- value Number required
Where it sits.
- axis String
"y" for a horizontal line (default), "x" for a vertical one.
- color Color
Defaults to the accent colour.
- lineWidth Number
Thickness. Default 1.
- value Number required