set_chart_axis
Configure a chart axis by setting its title, numeric or date format, min/max range, log scale, interval, and visibility. Returns the axis and the list of changed sub-elements.
Instructions
Configure a chart axis: title (Caption), format (numeric/date format string in /), min/max range, log_scale, interval, visible. axis ∈ {Category, Value}; axis_name defaults to 'Primary' (the only axis the template emits — pass a real name for secondary axes). All field args are optional; pass '' to clear an element. Returns {chart, axis, axis_name, kind, changed: list[str]} with the affected sub-element names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| min | No | ||
| axis | Yes | Category or Value | |
| path | Yes | ||
| title | No | ||
| format | No | Numeric/date format, e.g. '#,0.00' or 'MMM yyyy'. | |
| visible | No | ||
| interval | No | ||
| axis_name | No | Primary | |
| log_scale | No | ||
| chart_name | Yes |