LineChartTooltip
LineChartTooltip
#
Configuration of the tooltip for LineChart
s.
border_side
#
border_side: BorderSide = field(
default_factory=lambda: none()
)
The tooltip's border side.
fit_inside_horizontally
#
fit_inside_horizontally: bool = False
Forces the tooltip to shift horizontally inside the chart, if overflow happens.
fit_inside_vertically
#
fit_inside_vertically: bool = False
Forces the tooltip to shift vertically inside the chart, if overflow happens.
padding
#
padding: PaddingValue = field(
default_factory=lambda: symmetric(
vertical=8, horizontal=16
)
)
Applies a padding for showing contents inside the tooltip.
show_on_top_of_chart_box_area
#
show_on_top_of_chart_box_area: bool = False
Whether to force the tooltip container to top of the line.
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,
show_on_top_of_chart_box_area: bool | None = None,
) -> LineChartTooltip
Returns a copy of this object with the specified properties overridden.