IHeatmapConfiguration
Definition
export interface IHeatmapConfiguration {
/**
* The values to show on the heatmap. Each value has a coordinate and an intensity.
* Intensities are relative - the heatmap colors will be scaled based on the min/max intensities in the array
*/
values: IHeatmapPoint[];
/**
* Color gradient specified as an object with stop values (0-1) as keys and colors as values
*/
gradient?: { [stop: number]: string };
/**
* Radius of each heatmap point in pixels
* Default is 25
*/
radius?: number;
/**
* Amount of blur to apply
* Default is 15
*/
blur?: number;
/**
* The maximum possible intensity value.
* If not specified, the intensities will be scaled based on the range of values provided.
* Specify a max to set what the maximum possible value can be and the range will be scaled according to that max value
*/
max?: number;
/**
* Set to true if the coordinates of the heatmap points are in the image coordinates system.
*/
imageCoordinates?: boolean;
}Usage
Examples
Related Types
Last updated