You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -85,21 +72,17 @@ If one of the axes does not match an axis in the chart then the line behaviors a
85
72
The 2 coordinates, start, end, are optional. If not specified, the line is expanded out to the edges in the respective direction.
86
73
The 4 coordinates, xMin, xMax, yMin, yMax are optional. If not specified, the line is expanded out to the edges in the respective direction.
87
74
88
-
| Name | Description
89
-
| ---- | ----
90
-
| `adjustScaleRange` | Should the scale range be adjusted if this annotation is out of range.
91
-
| `display` | Whether or not this annotation is visible.
92
-
| `drawTime` | See [drawTime](../options#draw-time).
93
-
| `z` | The `z` property determines the drawing stack level of the line annotation element. All visible elements will be drawn in ascending order of `z` option, with the same `drawTime` option.
94
-
95
-
### Positioning
75
+
#### Positioning
96
76
97
77
The line can be positioned in two different ways. If `scaleID` is set, then `value` and `endValue` must also be set to indicate the endpoints of the line. The line will be perpendicular to the axis identified by `scaleID`.
98
78
99
79
If `scaleID` is unset, then `xScaleID` and `yScaleID` are used to draw a line from `(xMin, yMin)` to `(xMax, yMax)`.
100
80
101
81
| Name | Description
102
82
| ---- | ----
83
+
| `adjustScaleRange` | Should the scale range be adjusted if this annotation is out of range.
84
+
| `display` | Whether or not this annotation is visible.
85
+
| `drawTime` | See [drawTime](../options#draw-time).
103
86
| `endValue` | End two of the line when a single scale is specified.
104
87
| `scaleID` | ID of the scale in single scale mode. If unset, `xScaleID` and `yScaleID` are used.
105
88
| `value` | End one of the line when a single scale is specified.
@@ -109,6 +92,7 @@ If `scaleID` is unset, then `xScaleID` and `yScaleID` are used to draw a line fr
109
92
| `yMax` | Y coordinate of end two of the line in units along the y axis.
110
93
| `yMin` | Y coordinate of end one of the line in units along the y axis.
111
94
| `yScaleID` | ID of the Y scale to bind onto. If missing, the plugin will try to use the scale of the chart, configured as `'y'` axis. If more than one scale has been defined in the chart as `'y'` axis, the option is mandatory to select the right scale.
95
+
| `z` | The `z` property determines the drawing stack level of the line annotation element. All visible elements will be drawn in ascending order of `z` option, with the same `drawTime` option.
0 commit comments