ChartDataLabelAlignment enum
Position of data labels in Cartesian chart.The position of data labels in cartesian charts can be changed using this property.
Defaults to ChartDataLabelAlignment.auto
.
Values
- auto → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.auto places the data label either top or bottom position of a point based on the position.
- outer → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.outer places the data label at outside of a point.
- top → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.top places the data label at the top position of a point.
- bottom → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.bottom places the data label at the bottom position of a point.
- middle → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.middle places the data label at the center position of a point.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Constants
-
values
→ const List<
ChartDataLabelAlignment> - A constant List of the values in this enum, in order of their declaration.