ChartRangePadding enum Null safety

Padding for axis ranges.

Inheritance

Constructors

ChartRangePadding()
const

Values

auto → const ChartRangePadding
  • ChartRangePadding.auto, will apply none as padding for horizontal numeric axis, while the vertical numeric axis takes normal as padding calculation.
const ChartRangePadding(0)
none → const ChartRangePadding
  • ChartRangePadding.none, will not add any padding to the minimum and maximum values.
const ChartRangePadding(1)
normal → const ChartRangePadding
  • ChartRangePadding.normal, will apply padding to the axis based on the default range calculation.
const ChartRangePadding(2)
additional → const ChartRangePadding
  • ChartRangePadding.additional, will add an interval to the minimum and maximum of the axis.
const ChartRangePadding(3)
round → const ChartRangePadding
  • ChartRangePadding.round, will round the minimum and maximum values to the nearest possible value.
const ChartRangePadding(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<ChartRangePadding>
A constant List of the values in this enum, in order of their declaration.
[auto, none, normal, additional, round]