LineChartDataPoint
A LineChartData point.
Inherits: BaseControl
Properties
point- Defines the appearance and shape of a line point.selected- Draw the point as selected when flet_charts.LineChart.interactive is set toFalse.selected_below_line- A vertical line drawn between selected line point and the bottom edge of the chart.selected_point- Defines the appearance and shape of a selected line point.show_above_line- Whether to display a line above data point.show_below_line- Whether to display a line below data point.show_tooltip- Whether the tooltip should be shown when this data point is hovered over.tooltip- Configuration of the tooltip for this data point.x- The position of a point onXaxis.y- The position of a point onYaxis.
Properties
pointclass-attributeinstance-attribute
point: Union[None, bool, ChartPointShape] = NoneDefines the appearance and shape of a line point.
selectedclass-attributeinstance-attribute
selected: bool = FalseDraw the point as selected when
flet_charts.LineChart.interactive
is set to False.
selected_below_lineclass-attributeinstance-attribute
selected_below_line: Union[None, bool, ChartPointLine] = NoneA vertical line drawn between selected line point and the bottom edge of the chart.
The value is either True - draw a line with default style, False - do not draw a
line under selected point, or an instance of ChartPointLine class to
specify line style to draw.
selected_pointclass-attributeinstance-attribute
selected_point: Union[None, bool, ChartPointShape] = NoneDefines the appearance and shape of a selected line point.
show_above_lineclass-attributeinstance-attribute
show_above_line: bool = TrueWhether to display a line above data point.
show_below_lineclass-attributeinstance-attribute
show_below_line: bool = TrueWhether to display a line below data point.
show_tooltipclass-attributeinstance-attribute
show_tooltip: bool = TrueWhether the tooltip should be shown when this data point is hovered over.
tooltipclass-attributeinstance-attribute
tooltip: Union[LineChartDataPointTooltip, str] = field(default_factory=(lambda: LineChartDataPointTooltip()))Configuration of the tooltip for this data point.