API REFERENCE

showLabels

Tilemap: render each tile's label inside the tile when it fits.

Definition

ItemValue
JavaScript propertyshowLabels
HTML attributeshow-labels
Typeboolean
Defaultundefined

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-data-zoom and create the element before configuring it.
chart.showLabels = true;