ChartAxis
        Inherits: BaseControl
Configures chart axis.
Properties
- 
          label_size(Number) –The maximum space for each label in labels.
- 
          label_spacing(Number | None) –The spacing/interval between labels. 
- 
          labels(list[ChartAxisLabel]) –The list of ChartAxisLabel
- 
          show_labels(bool) –Whether to display the labelsalong the axis.
- 
          show_max(bool) –Whether to display a label for the maximum value 
- 
          show_min(bool) –Whether to display a label for the minimum value 
- 
          title(Control | None) –A Controlto display as axis title.
- 
          title_size(Number) –The size of title area. 
Properties#
class-attribute
      instance-attribute
  
#
label_size: Number = 22
The maximum space for each label in labels.
Each label will stretch to fit this space.
class-attribute
      instance-attribute
  
#
label_spacing: Number | None = None
The spacing/interval between labels.
If a value is not set, a suitable value will be automatically calculated and used.
class-attribute
      instance-attribute
  
#
labels: list[ChartAxisLabel] = field(default_factory=list)
The list of ChartAxisLabel
objects to set custom axis labels for only specific values.
class-attribute
      instance-attribute
  
#
show_labels: bool = True
Whether to display the labels along the axis.
If labels is empty then automatic labels are displayed.
class-attribute
      instance-attribute
  
#
show_max: bool = True
Whether to display a label for the maximum value independent of the sampling interval.
class-attribute
      instance-attribute
  
#
show_min: bool = True
Whether to display a label for the minimum value independent of the sampling interval.