IFillFormatter class abstract

Decides the y value, in value space, down or up to which a line data set is filled. Only used when the data set draws a fill. Usage: IFillFormatter.fromFunction((dataSet, dataProvider) => 0) fills to the zero line.

Kotlin's fun interface; a lambda is wrapped with IFillFormatter.fromFunction.

Implementers

Constructors

IFillFormatter()
Lets subclasses be constant.
const
IFillFormatter.fromFunction(double getFillLinePosition(ILineDataSet dataSet, LineDataProvider dataProvider))
Wraps getFillLinePosition in a formatter.
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFillLinePosition(ILineDataSet dataSet, LineDataProvider dataProvider) → double
Returns the y value in value space the fill extends to.
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