我有一个非常简单的脚本,可以为图表打开Google ChartEditor:
function loadEditorG1() {
chartEditorG1 = new google.visualization.ChartEditor();
google.visualization.events.addListener(chartEditorG1, 'ok', redrawChartG1);
chartEditorG1.openDialog(wrapperG1, {});
}
function redrawChartG1(){
wrapperG1 = chartEditorG1.getChartWrapper();
wrapperG1.draw();
}
如何让loadEditorG1()函数在" Customize"上打开编辑器?标签?默认情况下,Google ChartEditor会在"开始"标签