add_chart_callouts
Add annotation callout boxes with arrows to highlight data points on a Plotly chart, clarifying key values.
Instructions
Add multiple annotation callout boxes to highlight data points.
Each box has arrow pointing to data. Points: {x, y, text, color?, ax?, ay?}
Returns: Enhanced figure dict
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figure | Yes | Plotly figure dict from create_chart() | |
| points | Yes | List of {x, y, text, color?} dicts | |
| prefix | No | Text before each callout | |
| suffix | No | Text after each callout |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||