react-chart-canvas
react chart canvas base structure
How to use
; <ReactChartCanvas Chart=Chart** />
RadialBarChart Props
onClick: e info // default onHover: e info // default onResize: ratio clientWidth clientHeight ratioWidth ratioHeight e // default title: '' isGradient: false labelStyle: '#333' dataStyle: '#fff' tooltip: // default show: true { return `占比: %`; } tooltipStyle: backgroundColor: 'rgba(0,0,0,0.65)' ...
Base Package
How to Write chart
example: react-radial-bar-chart
* { this; } { ... } { ... } { ... } ...