Histogram
The histogram web component displays a frequency count for a collection of numbers.
The pacioli-histogram Component
The pacioli-histogram element adds a Pacioli histogram to a web page.
<pacioli-histogram definition="..."></pacioli-histogram>
Common
- definition
- Name of the value or function to display
- width
- Width of the pacioli component.
- height
- Height of the pacioli component.
- margin
- Margin used around charts. For example margin="10,10,10,10"
- decimals
- Number of decimals for numbers. Default is 2.
- zero
- String to display for zero values
- raw
- Ignore number of decimals and display numbers with relevant digits.
- exponential
- Display numbers in exopnential format.
Histogram
- caption
- A title for the chart
- unit
- Unit of measurement to display the value in. Must be compatible with the value's unit.
- heuristic
- Method to determine the number of bins. One of 'd3', 'sturges', 'freedman-diaconis', or 'seaborn'.
- xlabel
- Label on the x-axis
- ylabel
- Label on the y-axis
- lower
- Start of the x-axis range
- upper
- End of the x-axis range
- bins
- Number of bins.
- ylower
- Start of the y-axis range
- yupper
- End of the y-axis range
- xticks
- Ticks on the x-axis
- yticks
- Ticks on the y-axis
- gap
- Gap between the bars