ChartDataLabelAlignment enum Null safety
Position of data labels in Cartesian chart.The position of data lables in cartesian charts can be changed using this property.
Defaults to ChartDataLabelAlignment.auto.
Constants
- auto → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.auto places the data label either top or bottom position of a point based on the position.
const ChartDataLabelAlignment(0)
- bottom → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.bottom places the data label at the bottom position of a point.
const ChartDataLabelAlignment(3)
- middle → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.middle places the data label at the center position of a point.
const ChartDataLabelAlignment(4)
- outer → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.outer places the data label at outside of a point.
const ChartDataLabelAlignment(1)
- top → const ChartDataLabelAlignment
-
- ChartDataLabelAlignment.top places the data label at the top position of a point.
const ChartDataLabelAlignment(2)
-
values
→ const List<
ChartDataLabelAlignment> -
A constant List of the values in this enum, in order of their declaration.
const List<
ChartDataLabelAlignment>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited