API REFERENCE

measure

Histogram (): what a bar's height means — count / percent / density.

Definition

ItemValue
JavaScript propertymeasure
HTML attributemeasure
Type'count' | 'percent' | 'density'
Defaultundefined
Allowed valuespercent, count, density

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-histogram-chart and create the element before configuring it.
chart.measure = "count";