Drawings can have the following properties. Each drawing must have a
Some properties are only applicable to some types of drawing (e.g.
| Property | Description |
| type | Type of drawing, e.g. |
| points[] | Array of points, each one consisting of a date and a value. For example: |
| style | Graphical style for the drawing, consisting of line and/or fill and/or text sub-objects depending on the type of drawing |
| style.line | Can contain the properties |
| style.fill | Can contain a |
| style.text | Can contain the properties |
| unselectable | If true, makes the drawing completely unselectable (and unmoveable, and undeletable). Defaults to false. |
| moveable | If true, allows the user to move the drawing. Defaults to false. |
| removable | If true, allows the user to delete the drawing. Defaults to false. |
| showInBackground | If true, the drawing is shown behind the bars on the chart, not in front of them. Defaults to false. |
| text | Text to display. See below for the types of drawing which accept text. |
| icon | Icon to display, as a hex code of a character from the Font Awesome character set, such as "f0ab" |
| iconColor | Colour for the icon |
| iconSize | Size, in pixels, for the icon |
| markerOffset | For the |
| textAboveLine | Boolean value which positions text above the centre of the drawing (e.g. above a horizontal line or a bar marker) rather than below it. Defaults to false. |