AxisTitle class
This class holds the property of the axis title.
It has public properties to customize the text and font of the axis title. Axis does not display title by default. Use of the property will customize the title.
Provides text, text style, and text alignment options for customization of appearance.
Constructors
- AxisTitle({String? text, TextStyle? textStyle, ChartAlignment alignment = ChartAlignment.center})
- Creating an argument constructor of AxisTitle class.
Properties
- alignment → ChartAlignment
-
Aligns the axis title.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Text to be displayed as axis title.
final
- textStyle → TextStyle?
-
Customizes the appearance of text in axis title.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override