Skip to content

BarChartTooltip

BarChartTooltip #

Configuration of the tooltip for BarCharts.

bgcolor: ft.ColorValue = ft.Colors.SECONDARY #

Background color of tooltips.

border_radius: Optional[ft.BorderRadiusValue] = None #

The border radius of the tooltip.

border_side: Optional[ft.BorderSide] = None #

The tooltip border side.

direction: Optional[BarChartTooltipDirection] = None #

Controls showing tooltip on top or bottom, default is auto.

fit_inside_horizontally: Optional[bool] = None #

Forces the tooltip to shift horizontally inside the chart, if overflow happens.

Value is of type bool.

fit_inside_vertically: Optional[bool] = None #

Forces the tooltip to shift vertically inside the chart, if overflow happens.

Value is of type bool.

horizontal_offset: Optional[ft.Number] = None #

Applies horizontal offset for showing tooltip.

margin: Optional[ft.Number] = None #

Applies a bottom margin for showing tooltip on top of rods.

max_width: Optional[ft.Number] = None #

Restricts the tooltip's width.

padding: Optional[ft.PaddingValue] = None #

Applies a padding for showing contents inside the tooltip.

rotate_angle: Optional[ft.Number] = None #

The rotation angle of the tooltip.