PieChart
Child Components
PieChart provides context for these components:
<PolarAngleAxis /><PolarRadiusAxis /><PolarGrid /><Legend /><Tooltip /><Pie /><Customized />- validate svg elements...
Properties
widthNumber
The width of chart container.
heightNumber
The height of chart container.
marginObject
The sizes of whitespace around the container.
DEFAULT:
"{\"top\":5,\"right\":5,\"bottom\":5,\"left\":5}"FORMAT:
{ top: 5, right: 5, bottom: 5, left: 5 }onClickFunctionoptional
The function will be called when click sectors of a pie chart.
onMouseEnterFunctionoptional
The function will be called when mouse enter sectors of a pie chart.
onMouseLeaveFunctionoptional
The function will be called when mouse leave sectors of a pie chart.
onDoubleClickFunctionoptional
The customized event handler of dblclick in this chart.
onContextMenuFunctionoptional
The customized event handler of contextmenu in this chart.