Pie Chart
The Pie Chart web component displays a pie chart for a collection of numbers.
The pacioli-pie-chart Component
The pacioli-pie-chart element adds a Pacioli pie chart to a web page.
<pacioli-pie-chart definition="..."></pacioli-pie-chart>
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.
Pie Chart
- caption
- A title for the chart
- unit
- Unit of measurement to display the value in. Must be compatible with the value's unit.
- label
- Label in the popup windows.
- radius
- Radius of the pie chart.
- labelOffset
- Distance of the label from the pie chart edge