API REFERENCE
measure
Histogram (): what a bar's height means — count / percent / density.
Definition
| Item | Value |
|---|---|
| JavaScript property | measure |
| HTML attribute | measure |
| Type | 'count' | 'percent' | 'density' |
| Default | undefined |
| Allowed values | percent, count, density |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-histogram-chart and create the element before configuring it.
chart.measure = "count";