Skip to content

LineChartDataPointTooltip

Inherits: ChartDataPointTooltip

Tooltip configuration for the LineChartDataPoint.

Properties

Methods

  • copy

    Returns a copy of this object with the specified properties overridden.

Properties#

text class-attribute instance-attribute #

text: Optional[str] = None

The text to display in the tooltip.

When None, defaults to [LineChartDataPoint.y][flet_charts.LineChartDataPoint.y].

Methods#

copy #

copy(
    *,
    text: Optional[str] = None,
    text_style: Optional[TextStyle] = None,
    text_align: Optional[TextAlign] = None,
    text_spans: Optional[list[TextSpan]] = None,
    rtl: Optional[bool] = None,
) -> LineChartDataPointTooltip

Returns a copy of this object with the specified properties overridden.