chart_set
Saves or replaces a view by `tableId` and `name`.
| Operation | OAuth scope | Description |
|---|---|---|
chart_set |
files:write |
Saves or replaces a view by tableId and name. Pass type (bar, line, area, donut), x, y: {aggregation, column?}, required description, optional title, series, bucket (day, week, month) and filters: [{column, op, value}]. Numeric aggregates require a numeric column; date buckets require a date column. Filters accept eq, in, gte, lte; in takes a nonempty array, gte/lte take non-null numbers or dates. Requires table write access. Limit: 20 views per table. |
Group: Tables, records and exports.