Sets the background color of the annotation.

Sets the color of the border enclosing the annotation `text`.

Sets the padding (in px) between the `text` and the enclosing border.

Sets the width (in px) of the border enclosing the annotation `text`.

Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`.

Makes this annotation respond to clicks on the plot. If you click a data point that exactly matches the `x` and `y` values of this annotation, and it is hidden (visible: false), it will appear. In *onoff* mode, you must click the same point again to make it disappear, so if you click multiple points, you can show multiple annotations. In *onout* mode, a click anywhere else in the plot (on another data point or not) will hide this annotation. If you need to show/hide this annotation in response to different `x` or `y` values, you can set `xclick` and/or `yclick`. This is useful for example to label the side of a bar. To label markers though, `standoff` is preferred over `xclick` and `yclick`.

Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped.

Sets the background color of the hover label. By default uses the annotation's `bgcolor` made opaque, or white if it was transparent.

Sets the border color of the hover label. By default uses either dark grey or white, for maximum contrast with `hoverlabel.bgcolor`.

Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`.

Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear.

When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: false` or `enabled: false` to hide it). Has no effect outside of a template.