HeatmapConfig

Type Alias HeatmapConfigExperimental

HeatmapConfig: {
    colorBands?: boolean;
    colorResolution?: number;
    colorScheme?: HeatmapColorScheme | CustomHeatmapColorScheme;
    kernel?: HeatmapKernel;
    maxValue?: number;
    sizeFactor?: number;
    strengthFactor?: number;
}

Experimental. May be changed in the future without notice.

Global Heatmap configuration. When partially filled, only set values are override.

Type declaration

  • OptionalcolorBands?: boolean

    Whether the color mapping produces a continuous gradient of colors or separated bands of colors. Can be used in combination with colorResolution to generate isobands.

    false
    
  • OptionalcolorResolution?: number

    Resolution of color scheme lookup texture. Can be used in combination with colorBands to generate isobands.

    32
    
  • OptionalcolorScheme?: HeatmapColorScheme | CustomHeatmapColorScheme

    Color scheme to map calculated densities to.

    HeatmapColorScheme.TURBO
    
  • Optionalkernel?: HeatmapKernel

    Density falloff function from the center of a data point towards it's maximum impact range.

    HeatmapKernel.GAUSSIAN
    
  • OptionalmaxValue?: number

    Upper end of the color scheme. The calculated density is divided by this value before sampling the color scheme lookup texture.

    1000
    
  • OptionalsizeFactor?: number

    Global factor to adjust range of all points. Each heatmap point's size is scaled based on this value.

    1
    
  • OptionalstrengthFactor?: number

    Global factor to adjust maximum density of all points. This factor is applied to all heatmap points, adjusting the overall density.

    1
    

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: