MarkerShape
Represents a marker shape rendered in the tooltip.
Props
The following table outlines the props for the MarkerShape:
| Name | Type | Default | Description |
|---|---|---|---|
| cx | number | - | X-coordinate for circle center (for ellipse markers). |
| cy | number | - | Y-coordinate for circle center (for ellipse markers). |
| d | string | - | SVG path data string for path-based markers. |
| fill | string | - | Fill color for the marker or image URL for image markers. |
| height | number | - | Height for element sizing (for image markers). |
| id | string | - | Unique identifier for the marker. |
| rx | number | - | X-radius for ellipse markers. |
| ry | number | - | Y-radius for ellipse markers. |
| stroke | string | - | Stroke color for the marker outline. |
| strokeWidth | number | - | Stroke width for the marker outline in pixels. |
| type | string | - | The type of SVG element to render ('ellipse', 'path', or 'image'). |
| width | number | - | Width for element sizing (for image markers). |
| x | number | - | X-coordinate for element positioning (for image markers). |
| y | number | - | Y-coordinate for element positioning (for image markers). |