FunnelShape class

A funnel or pyramid shape.

Note that the shape will not sort the element items. Sort the input data if you want the intervals monotone.

Inheritance

Constructors

FunnelShape({double labelPosition = 0.5, bool pyramid = false})
Creates a funnel shape.

Properties

defaultSize double
The default size of the shape if Aes.size is null.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
labelPosition double
The position ratio of the label in the interval.
final
pyramid bool
Whether this shape is a pyramid.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

equalTo(Object other) bool
Checks the equlity of two specs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderGroup(List<Aes> group, CoordConv coord, Offset origin) List<Figure>
Renders the whole group of tuples.
override
renderItem(Aes item, CoordConv coord, Offset origin) List<Figure>
Renders a single tuple if called by renderGroup.
override
representPoint(List<Offset> position) Offset
Gets the represent point of Aes.position points.
inherited
toString() String
A string representation of this object.
inherited

Operators

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