Renders a circular sector shape, commonly used in pie and radial bar charts. A sector is defined by center coordinates, inner and outer radii, and start and end angles. It can be rendered as a full circle, a donut segment, or a pie slice.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/recharts/recharts/llms.txt
Use this file to discover all available pages before exploring further.
Props
Positioning
The x-coordinate of the center point in pixels.
The y-coordinate of the center point in pixels.
The inner radius of the sector in pixels. Set to 0 for a pie slice without a hole.
The outer radius of the sector in pixels.
Angles
The start angle of the sector in degrees. 0 degrees is at the 3 o’clock position.
The end angle of the sector in degrees.
Appearance
The radius of rounded corners in pixels.
Whether to force rendering of rounded corners even when the angle of the sector is very small.
Whether the corner radius is external to the sector.
CSS class name to apply to the sector element.
SVG properties
This component accepts all standard SVG path element properties including:fill- Fill colorstroke- Stroke colorstrokeWidth- Stroke widthopacity- Opacity valuestyle- Inline styles
Events
Event handler for click events on the sector.
Event handler for mousedown events on the sector.
Event handler for mouseup events on the sector.
Event handler for mousemove events on the sector.
Event handler for mouseover events on the sector.
Event handler for mouseout events on the sector.
Event handler for mouseenter events on the sector.
Event handler for mouseleave events on the sector.