CartesianSeries<E extends TouchInteractionEvents<TouchInteractionResult>> class abstract

Base Series for any type of Data which can be plotted on a Cartesian Chart.

Implementers

Constructors

CartesianSeries.new({required E interactionEvents})

Properties

hashCode int
The hash code for this object.
no setterinherited
interactionEvents → E
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

maybeWhen<T>({T onBarSeries(BarSeries series)?, required T orElse()}) → T
Checks the Subclass Type and returns the casted instance to the matched callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<T>({required T onBarSeries(BarSeries series)}) → T
Checks the Subclass Type and returns the casted instance to the matched callback. All callbacks must be provided.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

whenType<T>(Type type, {T onBarSeries()?, required T orElse()}) → T
Static method to Check the Subclass Type when we do not have an instance for an object extending this class.