Heatmap
Spec
Defines a word cloud chart.
Overview
Compatible Specs
Heatmap
is a standalone spec and cannot be combined with other specs except for supported global specs.
warning
Overrides
specType
->SpecType.Series
chartType
->ChartType.Heatmap
Props
All props can be found via HeatmapProps
type.
Spec
Props
Inherits Spec
props
data
- Type:
data: D[]
colorScale
- Type:
colorScale: HeatmapBandsColorScale
xAccessor
- Type:
xAccessor: Accessor<D> | AccessorFn<D>
- Default:
(d) => d?.x
yAccessor
- Type:
yAccessor: Accessor<D> | AccessorFn<D>
- Default:
(d) => d?.y
valueAccessor
- Type:
valueAccessor: Accessor<never> | AccessorFn
- Default:
({ value }) => value
valueFormatter
- Type:
valueFormatter: ValueFormatter
- Default:
(value) =>
${value}
xSortPredicate
- Type:
xSortPredicate: Predicate
- Default:
Predicate.AlphaAsc
ySortPredicate
- Type:
ySortPredicate: Predicate
- Default:
Predicate.AlphaAsc