Interface IHeatmapScaler

Maps raw values to color weights (0..1) for a heatmap frame and provides legend text.

Namespace: MOSAIC.Visualization.Heatmap
Assembly: MOSAIC.dll
Syntax
public interface IHeatmapScaler

Methods

Configure(int)

Called whenever the grid size changes (length = rows*cols). Implementations must handle any cell count gracefully — never throw.

Declaration
void Configure(int cellCount)
Parameters
Type Name Description
int cellCount

MapFrame(ReadOnlySpan<double>, WeightedPoint[], int[]?, Func<double, double>?, out LegendInfo)

Map an input frame to weights in LiveChartsCore.Defaults.WeightedPoint.Weight.

Declaration
void MapFrame(ReadOnlySpan<double> frame, WeightedPoint[] points, int[]? indexMap, Func<double, double>? valueTransform, out LegendInfo legend)
Parameters
Type Name Description
ReadOnlySpan<double> frame
WeightedPoint[] points
int[] indexMap
Func<double, double> valueTransform
LegendInfo legend

Search documentation

Start typing to search the documentation.