ChartTitle class
Customizes the chart title.
Constructors
- ChartTitle({String text: '', ChartTextStyle textStyle, ChartAlignment alignment: ChartAlignment.center, Color borderColor: Colors.transparent, double borderWidth: 0, Color backgroundColor })
Properties
- alignment → ChartAlignment
-
Aligns the chart title. The alignment change is applicable only when the width of the
chart title is less than the width of the chart. [...]
final
- backgroundColor → Color
-
Background color of the chart title. [...]
final
- borderColor → Color
-
Border color of the chart title. [...]
final
- borderWidth → double
-
Border width of the chart title. [...]
final
- text → String
-
Text to be displayed as chart title. Any desired text can be set as chart title.
If the width of the chart title exceeds the width of the chart, then the title will
be wrapped to multiple rows. [...]
final
- textStyle → ChartTextStyle
-
Customizes the appearance of the chart title text. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited