BarChartTooltip
BarChartTooltip
#
Configuration of the tooltip for BarChart
s.
direction
#
direction: BarChartTooltipDirection | None = None
Controls showing tooltip on top or bottom, default is auto.
fit_inside_horizontally
#
fit_inside_horizontally: bool | None = None
Forces the tooltip to shift horizontally inside the chart, if overflow happens.
fit_inside_vertically
#
fit_inside_vertically: bool | None = None
Forces the tooltip to shift vertically inside the chart, if overflow happens.
horizontal_offset
#
horizontal_offset: Number | None = None
Applies horizontal offset for showing tooltip.
padding
#
padding: PaddingValue | None = None
Applies a padding for showing contents inside the tooltip.
copy_with
#
copy_with(
*,
bgcolor: ColorValue | None = None,
border_radius: BorderRadiusValue | None = None,
margin: Number | None = None,
padding: PaddingValue | None = None,
max_width: Number | None = None,
rotate_angle: Number | None = None,
horizontal_offset: Number | None = None,
border_side: BorderSide | None = None,
fit_inside_horizontally: bool | None = None,
fit_inside_vertically: bool | None = None,
direction: BarChartTooltipDirection | None = None,
) -> BarChartTooltip
Returns a copy of this object with the specified properties overridden.