Histogram
CompleteCounts of values in equal ranges, drawn as touching bars. Choose the number of bins or the width of a bin, and show counts or shares.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Bins | int | |
BinWidth | Double | |
Class | string | Extra CSS classes added to the root element. |
Height | Double | Maximum height of the grid body, for example 24rem (default 28rem with VirtualScroll). |
Label | string | Visible label text (charts: accessible name; IconButton: accessible name and tooltip). |
Scale | HistogramScale | Width of a day on the time scale: Day, Week or Month. |
ShowDataLabels | bool | Writes the value on each mark (bars, line points, pie slices). |
ShowExport | bool | Adds buttons that save the chart as a PNG or SVG image. |
ShowGrid | bool | Draws horizontal grid lines. |
ShowLegend | bool | Shows the clickable legend. |
Style | string | Inline style added to the root element. |
ValueFormat | string | Number format for axis and tooltips, e.g. N0 or P1. |
Values | IEnumerable<Double> | The numbers to plot. |
Width | Double | Skeleton: any CSS length. Charts: drawing width in SVG units (the chart still scales to its container). |
Package
Histogram is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.
Send feedbackVersion 1.0.3