Skip to content

Interface: CandlestickTraceHoverlabel ​

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

Properties ​

PropertyTypeDefault valueDescription
align?PerPoint<"left" | "right" | "auto">undefinedText alignment inside labels.
bgcolor?PerPointColorundefinedLabel background. Default: the point color.
bordercolor?PerPointColorundefinedLabel border. Default: contrasting with the background.
font?TraceHoverlabelFontundefinedLabel font.
namelength?PerPointNumberundefinedCharacters of the trace name shown (-1: all, 0: none). Minimum: -1
split?booleanfalseShow the open, high, low and close in separate labels, each at its price, instead of one label. hovertemplate is then ignored.

Released under the MIT License.