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
@@ -137,83 +136,9 @@ If this value is an object, the `x` property defines the horizontal alignment of
137
136
138
137
If this value is a number, it is applied to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight). If this value is an object, the `topLeft` property defines the top-left corners border radius. Similarly, the `topRight`, `bottomLeft`, and `bottomRight` properties can also be specified. Omitted corners have radius of 0.
139
138
140
-
### Point
139
+
##Callout
141
140
142
-
A point options can enable the selected point drawing.
143
-
144
-
Namespace: `options.annotations[annotationID].label.point`, it defines options for the point on the annotation label.
145
-
146
-
```js chart-editor
147
-
/* <block:options:0> */
148
-
constoptions= {
149
-
plugins: {
150
-
autocolors:false,
151
-
annotation: {
152
-
annotations: {
153
-
label1: {
154
-
type:'label',
155
-
xValue:2.5,
156
-
yValue:60,
157
-
backgroundColor:'rgba(245,245,245)',
158
-
content: ['In this point of time,', 'something happened'],
All of these options can be [Scriptable](../options#scriptable-options).
201
-
202
-
| Name | Type | Default | Notes
203
-
| ---- | ---- | :----: | ---- | ----
204
-
| `enabled` | `boolean` | `false` | If true, the point is drawn.
205
-
| `backgroundColor` | `Color` | `undefined` | Fill color of the selected point.
206
-
| `borderColor` | [`Color`](../options#color) | `undefined` | Stroke color of the selected point.
207
-
| `borderDash` | `number[]` | `[]` | Length and spacing of dashes of the border of the selected point. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash).
208
-
| `borderDashOffset` | `number` | `0` | Offset for line dashes of the border of the selected point. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset).
209
-
| `borderWidth` | `number` | `1` | Stroke width of the selected point.
210
-
| `pointStyle` | [`PointStyle`](../options#point-style) | `'circle'` | Style of the point.
211
-
| `radius` | `number` | `3` | Radius of the selected point.
212
-
| `rotation` | `number` | `0` | Rotation of point, in degrees.
213
-
214
-
### Callout
215
-
216
-
A callout connects the label by a line to a point.
141
+
A callout connects the label by a line to the selected point.
217
142
218
143
Namespace: `options.annotations[annotationID].label.callout`, it defines options for the callout on the annotation label.
0 commit comments