set_legend
Configure graph legend visibility, position, and custom entries for OriginPro graphs.
Instructions
Configure graph legend.
Args: graph_name: Graph name visible: Show or hide legend position: top-left, top-right, bottom-left, bottom-right entries: Comma-separated custom legend entries
Returns: Success message
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graph_name": "<graph_name>"
},
"name": "set_legend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| visible | No | ||
| position | No | top-right | |
| entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |