ChartAxis
ChartAxis
#
Bases: BaseControl
Configures chart axis.
label_size: ft.Number = 22
#
Width or height of labels area.
label_spacing: Optional[ft.Number] = None
#
The interval between automatic labels.
labels: list[ChartAxisLabel] = field(default_factory=list)
#
The list of ChartAxisLabel
objects to set custom axis labels for only specific values.
show_labels: bool = True
#
Whether to display the labels
along the axis.
If labels
is empty then automatic labels are displayed.
title: Optional[ft.Control] = None
#
A Control
to display as axis title.
title_size: ft.Number = 16
#
Width or height of title area.