Create DataLens wizard chart
datalens_charts_wizard_createCreate a wizard chart in a DataLens workbook from sources and visualization settings, returning its id for later retrieval or updates.
Instructions
Create a chart of the wizard in a workbook and return it with its id.
The entry.data of a chart read with charts_wizard_get is a valid data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The entry's key, in a folder. | |
| data | Yes | What the chart holds: `sources` and `visualization`. Its schema is not listed here: read `WizardChartData` with schema_get(service="datalens", name="WizardChartData"), then the definitions it refers to. | |
| name | No | The chart's name. | |
| annotation | No | A description of the chart. | |
| workbook_id | No | The workbook to create it in. |