ui.chart.data automations are used as a dataset by Chart KATA widgets.
Inputs
The automation dictionary starts with the following values:
Key | Type | Notes |
---|---|---|
inputs |
dictionary | Custom input values from the caller |
widget_* |
record | The card, profile, or workspace widget record (supports key expansion) |
worker_* |
record | The active worker record. Supports key expansion. |
Outputs
return:
Key | Type | Notes |
---|---|---|
data |
dictionary | The chart data as an array of series with the same length |
return:
data:
ts@csv: 2023-10, 2023-11, 2023-12
series0@csv: 104, 77, 84
series1@csv: 218, 335, 183