Skip to content

grafit-charts


Variable: gradientLegendModule

const gradientLegendModule: object

Type Declaration

api

readonly api: object = gradientLegendApi

api.HEIGHT

HEIGHT: number = GRADIENT_LEGEND_HEIGHT

api.render

render: (layer, rect, info, theme, options?) => void = renderGradientLegend

Color scale (heatmap and other colorField series): vertical or horizontal.

Parameters
layer

Group

rect

LayoutRect

info

ColorScaleInfo

theme

ThemeContext

options?

GradientLegendOptions

Returns

void

api.WIDTH

WIDTH: number = GRADIENT_LEGEND_WIDTH

kind

readonly kind: "feature" = 'feature'

name

readonly name: "gradient-legend" = 'gradient-legend'