PieChartAnnotationProps
Represents an annotation element displayed on the pie chart.
Props
The following table outlines the props for the PieChartAnnotationProps:
| Name | Type | Default | Description |
|---|---|---|---|
| accessibility | { ariaLabel: '', role: 'img', focusable: false, tabIndex: 0 } | Enhances accessibility for annotation elements to ensure compatibility with assistive technologies, such as screen readers and keyboard navigation. | |
| content | string | '' | Content of the annotation. Accepts HTML string, plain text, or DOM element ID. |
| coordinateUnit | 'Point' | Defines whether position values are axis-based ('Point') or pixel-based ('Pixel'). | |
| hAlign | 'Center' | Horizontal alignment relative to the X-position. Available Options:
| |
| vAlign | 'Center' | Vertical alignment relative to the Y-position. Available options:
| |
| x | string | Date | number | null | X position of the annotation.
|
| y | string | number | null | Y position of the annotation.
|