ChartDataPointTooltip
Configuration of the tooltip for data points in charts.
Properties
-
rtl(bool) –Whether the text is right-to-left.
-
text(str | None) –The text to display in this tooltip.
-
text_align(TextAlign) –The text alignment of the tooltip.
-
text_spans(list[TextSpan] | None) –Additional text spans to show on this tooltip.
-
text_style(TextStyle) –A text style to display tooltip with.
Methods
-
copy–Returns a copy of this object with the specified properties overridden.
Properties#
text
class-attribute
instance-attribute
#
text: str | None = None
The text to display in this tooltip.
text_align
class-attribute
instance-attribute
#
The text alignment of the tooltip.
text_spans
class-attribute
instance-attribute
#
Additional text spans to show on this tooltip.
text_style
class-attribute
instance-attribute
#
A text style to display tooltip with.