data array and an options object. The series keys refer to properties in the data records.
xKey and yKey are record fields, not UI cell IDs.
Series fields
Use numeric data on numeric axes. For horizontal bars, use a number x-axis and a category y-axis, or omit explicit axes. A label such as
Open cannot be placed on a number axis.
Supported series in Assistant cards
The serializable chart contract accepts the following series. Required keys name properties indata records; a nonempty dataset must contain those properties.
Use 1–16 series. Box-plot quantiles must be finite and ordered from minimum to maximum. Funnel and pyramid values must be finite numbers. Chart callbacks and listener functions are not part of the serializable contract; use
on.pointClick for interactions.
Gauges
A gauge puts its type and value directly inoptions. Use an empty data array and omit series and legend:
radial-gauge and linear-gauge require finite values within the numeric scale. Optional targets contains up to 16 objects whose value also lies within that scale.
Chart-to-filter pattern
Declare a status INPUT and a result TABLE first. A chart action can then set the control from the clicked datum and refresh the table:status and orders must exist in the current frame. set does not create a missing input.
For a complete bounded query with a chart and table, see Chart Job runs.
