spreadsheetReportChart
电子表格Excel图形对象
接口摘要
属性
chartData
Object
图形的数据对象
Example:
//对象:spreadsheetReport,事件:onChartClick
function main(spreadsheetReport, spreadsheetReportChart) {
console.log(spreadsheetReportChart.chartData);
}
// 输出:
{
category: [["小米"], ["汽水"], ["牛奶"], ...],
categoryDisplay: ["小米"], ["汽水"], ["牛奶"], ...,
name: "图表 1",
series: {
name: "销售量",
type: "COLUMN_STACKED",
points: Array(76)
}
}