LineChartDataPointTooltip
Tooltip configuration for the LineChartDataPoint.
Inherits: ChartDataPointTooltip
Properties
text- The text to display in the tooltip.
Methods
copy- Returns a copy of this object with the specified properties overridden.
Properties
textclass-attributeinstance-attribute
text: str | None = NoneThe text to display in the tooltip.
When None, defaults to
LineChartDataPoint.y.
Methods
copy
copy(
text: str | None = None,
text_style: TextStyle | None = None,
text_align: TextAlign | None = None,
text_spans: list[TextSpan] | None = None,
rtl: bool | None = None,
) -> LineChartDataPointTooltipReturns a copy of this object with the specified properties overridden.