Chart
Rule
Web not supportediOS supportedAndroid not supported
Draw standalone reference rules.
Chart
Draw standalone reference rules.
Use it for thresholds or reference lines without a main series. iOS only.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
data* | ChartRuleDatumIos[] | — | Rules with optional start and end positions. |
orientation | "horizontal" | "vertical" | — | Direction of the rules. |
height | number | 240 web / 320 native | Chart height in pixels or native points. |
isLoading | boolean | false | Shows the built-in placeholder while data loads. |
theme | ChartTheme | — | Colors and typography for this chart. |