pfDonutChart
patternfly.charts
Component for rendering a donut chart which shows the relationships of a set of values to a whole. When using a Donut Chart to show the relationship of a set of values to a whole, there should be no more than six categories.
See http://c3js.org/reference.html for a full list of C3 chart options.
<pf-donut-chart
config="{object}"
data="{object}"
chart-height="{number}">
</pf-donut-chart>
| Param | Type | Details |
|---|---|---|
| config | object | configuration properties for the donut chart:
|
| data | object | an array of values for the donut chart.
|
| chartHeight | number | height of the donut chart |