SetChartData

Replace data underlying a chart with the specified data

JSON

{
"shapeName": string,
"data": [ [ string | number | null ] ],
"columnar": boolean,
}

Fields

shapeName
Chart shape name as listed on Selection Pane. Required.
data
New data for chart, by default in row-major order, as it appears in the spreadsheet backing the chart. Required.
columnar
If true, data is in column-major order and will be transposed. Optional, default is false.