Pie Chart
Example
Props
Name | Type | Default | Description |
---|---|---|---|
data | array | [] |
|
radius | number | ||
cx | number | ||
cy | number | ||
labelTextFill | string | ||
valueTextFill | string | ||
valueTextFormatter | func | (val) => ${val}%`` |
|
colors | func | d3.scale.category20c() |
|
colorAccessor | func | (d, idx) => idx |
|
title | string | '' |
|
showInnerLabels | bool | ||
showOuterLabels | bool | ||
sectorBorderColor | string | ||
hoverAnimation | bool | true |