Sector
Renders a sector (pie-slice or donut-segment shape) from center coordinates, inner/outer radius, and start/end angles. Used by polar components such as Pie, RadialBar, and PolarGrid, and as the radial cursor shape shown by Tooltip on polar charts.
相关链接
classNamestringoptional
The SVG element's class name.
cornerIsExternalbooleanoptional
When false (default), the rounded corners are inset within the angle defined by
startAngle/endAngle, keeping the sector within its nominal bounds. When true, the corners extend beyond that angle, making the sector appear visually wider at its rounded ends.默认值:
falsecornerRadiusnumberoptional
The radius of corners.
默认值:
0cxnumberoptional
The x-coordinate of center.
默认值:
0cynumberoptional
The y-coordinate of center.
默认值:
0endAnglenumberoptional
The end angle of the sector.
默认值:
0forceCornerRadiusbooleanoptional
Whether force to render round corner when the angle of sector is very small
默认值:
falseinnerRadiusnumberoptional
The inner radius of the sector.
默认值:
0outerRadiusnumberoptional
The outer radius of the sector.
默认值:
0startAnglenumberoptional
The start angle of the sector.
默认值:
0