update_paragraph_config
Updates a Zeppelin paragraph's chart and display settings by deep-merging config changes, including graph type, columns, and auto-filled output fields.
Instructions
Update paragraph visualization/chart config (graph type, columns, display settings). Fetches current config and deep-merges provided changes. Column index and aggr fields are auto-filled from the paragraph's output headers — only provide name. Auto-fill needs saved output: run the paragraph at least once first, otherwise index/aggr cannot be auto-filled and columns are passed through as given.
Args:
notebook_id: The notebook ID containing the paragraph
paragraph_id: The paragraph ID to configure
config: Dict of config fields to set or update. Merged with existing config.
To change chart type, set graph.mode to one of:
"table", "multiBarChart", "stackedAreaChart", "lineChart",
"pieChart", "scatterChart".
Example: {"graph": {"mode": "multiBarChart",
"keys": [{"name": "date_col"}],
"values": [{"name": "amount_col"}]}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| notebook_id | Yes | ||
| paragraph_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |