Histogram
ProBins a flat list of numeric values into frequency columns.
Illustration — rendered output uses live data.
Example
blade
<chart:histogram
:data="[1, 2, 2, 3, 3, 3, 4, 4, 5, 8, 13, 21]"
:bins="6"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| data | array | [] | A flat list of numeric values. |
| bins | int | 10 | Number of bins. |
Plus the common props (height, theme, model, class).
This is a Pro component
Unlock it and every other Pro chart with a one-time license.
Get WireCharts Pro