HeatmapMark<T> class final

One Cartesian matrix cell per row, with colour encoding an independent measured value.

Heatmap is intentionally not a scatter colour channel: X and Y remain spatial coordinates while value owns a dedicated HeatmapColorScale. Phase 1 permits one Heatmap geometry per plot plus reference annotations.

Inheritance

Constructors

HeatmapMark({required FieldAccessor<T, num> x, required FieldAccessor<T, num> y, required FieldAccessor<T, num> value, required HeatmapColorScale colorScale, String? id, String? name, String? yAxisId, FieldAccessor<T, bool>? missing, FieldAccessor<T, String?>? pointKey, FieldAccessor<T, String?>? label, String? unit, double? cellWidth, double? cellHeight, double? gapFraction, Color? borderColor, double? borderWidth, double? cornerRadius, bool? showCellLabels, Color? cellLabelColor, double? cellLabelFontSize, HeatmapEmptyValueStyle? emptyValueStyle, HeatmapValueFilter? valueFilter})
Creates a Heatmap geometry.
const

Properties

borderColor Color?
final
borderWidth double?
final
cellHeight double?
final
cellLabelColor Color?
final
cellLabelFontSize double?
final
cellWidth double?
Optional cell and label presentation overrides.
final
color Color?
Base color for this geometry. Null inherits the theme's series color.
finalinherited
colorScale HeatmapColorScale
Native numeric colour mapping.
final
cornerRadius double?
final
emptyValueStyle HeatmapEmptyValueStyle?
final
gapFraction double?
final
hashCode int
The hash code for this object.
no setteroverride
id String?
Stable id for this mark.
finalinherited
label FieldAccessor<T, String?>?
Optional cell label accessor.
final
missing FieldAccessor<T, bool>?
Optional explicit missing-cell channel.
final
name String?
Display name used by legends and tooltips.
finalinherited
pointKey FieldAccessor<T, String?>?
Optional stable identity accessor for update/selection continuity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCellLabels bool?
final
unit String?
Unit shown with measured values.
final
value FieldAccessor<T, num>
Independent measured value encoded by colorScale.
final
valueFilter HeatmapValueFilter?
final
x FieldAccessor<T, num>
Horizontal cell-centre accessor.
final
y FieldAccessor<T, num>
Vertical cell-centre accessor.
final
yAxisId String?
Id of the YAxisConfig in PlotSpec.yAxes this mark measures against.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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