add_line
Draw a straight line between two data points on a graph to create guides, connectors, or trend indicators.
Instructions
Draw a straight line between two data points on a graph.
Useful for guides, connectors, and trend indicators. For a line with an arrowhead, use add_arrow instead.
Args: graph_name: Graph name x1, y1: Start point in data coordinates x2, y2: End point in data coordinates
Returns: Success message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |