TrendlineType enum Null safety

Trendline type

On the basis of the trendline type, the trendline is rendered

Inheritance

Constructors

TrendlineType()
const

Values

linear → const TrendlineType
  • TrendlineType.linear, displays linear trendline type.
const TrendlineType(0)
exponential → const TrendlineType
  • TrendlineType.exponential, displays exponential trendline type.
const TrendlineType(1)
power → const TrendlineType
  • TrendlineType.power, displays power trendline type.
const TrendlineType(2)
logarithmic → const TrendlineType
  • TrendlineType.logarithmic, displays logarithmic trendline type.
const TrendlineType(3)
polynomial → const TrendlineType
  • TrendlineType.polynomial, displays polynomial trendline type.
const TrendlineType(4)
movingAverage → const TrendlineType
  • TrendlineType.movingAverage, displays movingAverage trendline type.
const TrendlineType(5)

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<TrendlineType>
A constant List of the values in this enum, in order of their declaration.
[linear, exponential, power, logarithmic, polynomial, movingAverage]