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.

Inheritance

Constructors

ChartDataLabelAlignment()
const

Values

auto → const ChartDataLabelAlignment
  • ChartDataLabelAlignment.auto places the data label either top or bottom position of a point based on the position.
const ChartDataLabelAlignment(0)
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)
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)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[auto, outer, top, bottom, middle]