API REFERENCE

colorAxis

Tilemap: value→colour axis (true/'auto'/object). Property-only; off by default.

Definition

ItemValue
JavaScript propertycolorAxis
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeTilemapColorAxisInput
Defaultundefined
Literals in the typeauto

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-tilemap and create the element before configuring it.
chart.colorAxis = "auto";