HeatmapShape class
A heatmap shape.
The rule of generating the tile size is: 1. all tiles have the same size. 2. tries to inflate all the coordinate space. If there may be too few data items (like only one in a dimension) to infer the size, tileCounts should be set.
- Inheritance
-
- Object
- Shape
- PartitionShape
- PolygonShape
- HeatmapShape
Constructors
-
HeatmapShape({bool sector = false, BorderRadius? borderRadius, List<
int?>? tileCounts}) - Creates a heatmap.
Properties
- borderRadius → BorderRadius?
-
The border radius of the rectangle or sector.
final
- defaultSize → double
-
The default size of the shape if Attributes.size is null.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sector → bool
-
Wheather the tiles are sectors or polygons in a polar coordinate.
final
-
tileCounts
→ List<
int?>? -
Total tile counts of each dimension.
final
Methods
-
drawGroupLabels(
List< Attributes> group, CoordConv coord, Offset origin) → List< MarkElement< ElementStyle>> -
Renders label elements of all tuples of a group.
override
-
drawGroupPrimitives(
List< Attributes> group, CoordConv coord, Offset origin) → List< MarkElement< ElementStyle>> -
Renders primitive elements of all tuples of a group.
override
-
equalTo(
Object other) → bool - Checks the equlity of two specs.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
representPoint(
List< Offset> position) → Offset -
Gets the represent point of Attributes.position points.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited