ChannelAttr<AV> class abstract

The specification of a channel aesthetic attribute.

It encodes a single variable to a value. The encoding will be lerping for continous variable scale, and lookup table for discrete scale.

Inheritance
Implementers

Constructors

ChannelAttr({String? variable, List<AV>? values, List<double>? stops, AV? value, AV encoder(Tuple)?, Map<String, Map<bool, SelectionUpdater<AV>>>? updaters})
Creates a channel aesthetic attribute.

Properties

encoder ↔ (AV Function(Tuple)?)
Indicates how to get attribute form a tuple directly.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
Stops corresponding to values.
getter/setter pair
updaters Map<String, Map<bool, SelectionUpdater<AV>>>?
Attribute updaters when a selection occurs.
getter/setter pairinherited
value ↔ AV?
Indicates a attribute value for all tuples directly.
getter/setter pairinherited
values List<AV>?
Target attribute values.
getter/setter pair
variable String?
The variable this attribute encodes from.
getter/setter pair

Methods

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.
override