Update DataLens wizard chart
datalens_charts_wizard_updateSave a DataLens wizard chart by replacing its entire data, with mode=save for a draft or mode=publish to publish the shown version.
Instructions
Save a chart of the wizard as given: read it, change it, send it back whole.
DataLens does not check a revision here: a save overwrites what was saved since you read it (measured).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | What the chart holds; it replaces the whole of it. Its schema is not listed here: read `WizardChartData` with schema_get(service="datalens", name="WizardChartData"), then the definitions it refers to. | |
| mode | Yes | `save` keeps a draft; `publish` makes it the version shown. | |
| rev_id | No | The revision the change is made on; DataLens does not check it (measured). | |
| chart_id | Yes | Chart id. | |
| annotation | No | A description of the chart. |