Skip to content

Interface: TraceHoverlabel ​

Hover label style for this trace. Unset fields fall back to layout.hoverlabel (so there are no trace-level defaults).

Properties ​

PropertyTypeDescription
align?PerPoint<"auto" | "left" | "right">Text alignment inside labels.
bgcolor?PerPointColorLabel background. Default: the point color.
bordercolor?PerPointColorLabel border. Default: contrasting with the background.
font?TraceHoverlabelFontLabel font.
namelength?PerPointNumberCharacters of the trace name shown (-1: all, 0: none). Minimum: -1

Released under the MIT License.