add_second_y_axis
Add a secondary Y axis to an existing graph and plot a second dataset with specified columns and plot type.
Instructions
Add a right-side Y axis layer and plot a second dataset on it.
Args: graph_name: Existing graph data_book, data_sheet: Source data x_col, y_col: Columns for the right-axis series (1-based) plot_type: scatter, line, line+symbol, column, bar, area
Returns: Success message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| data_book | Yes | ||
| data_sheet | Yes | ||
| x_col | Yes | ||
| y_col | Yes | ||
| plot_type | No | line+symbol |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |