API REFERENCE
colorAxis
Tilemap: value→colour axis (true/'auto'/object). Property-only; off by default.
Definition
| Item | Value |
|---|---|
| JavaScript property | colorAxis |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | TilemapColorAxisInput |
| Default | undefined |
| Literals in the type | auto |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- TilemapColorAxisInput
Type definition
Configuration example
// Register sy-tilemap and create the element before configuring it.
chart.colorAxis = "auto";