add_chart_annotation
Add a callout annotation to a chart, including a text box with an optional arrow pointing to a data point, for enhanced storytelling.
Instructions
Add a callout annotation to a chart for storytelling.
Text box with optional arrow pointing to a data point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position (data coordinate) | |
| y | No | Y position (data coordinate) | |
| text | Yes | Annotation text | |
| figure | Yes | Plotly figure dict from create_chart() | |
| font_size | No | Text size | |
| show_arrow | No | Show arrow pointing to data | |
| arrow_color | No | Arrow color (default: gold) | #ffab00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||