HeatmapDensityData class final

Deterministic data-domain density raster prepared for a native Heatmap.

Annotations

Constructors

HeatmapDensityData({required Iterable<HeatmapDensityObservation> observations, required HeatmapDensityAxis xAxis, required HeatmapDensityAxis yAxis, required double bandwidthX, required double bandwidthY, HeatmapDensityKernel kernel = HeatmapDensityKernel.gaussian, double gaussianTruncationRadius = 3})
factory

Properties

bandwidthX double
final
bandwidthY double
final
cells List<HeatmapDensityCell>
final
gaussianTruncationRadius double
final
hashCode int
The hash code for this object.
no setterinherited
kernel HeatmapDensityKernel
final
maximumDensity double
final
observations List<HeatmapDensityObservation>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalWeight double
final
xAxis HeatmapDensityAxis
final
yAxis HeatmapDensityAxis
final

Methods

cellAt({required int xIndex, required int yIndex}) HeatmapDensityCell
cellsFor({HeatmapDensityValueMode valueMode = HeatmapDensityValueMode.relative}) List<HeatmapDataPoint>
Creates canonical Heatmap cells in row-major order.
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.
inherited