Google ChartEditor to open up on the “Customize” tab

26 views
Skip to first unread message

Mike Pala

unread,
Aug 1, 2016, 6:10:10 AM8/1/16
to Google Visualization API
Hi Everyboday,

I have a very simple script that opens up the Google ChartEditor for a chart:

 function loadEditorG1() {
    chartEditorG1 = new google.visualization.ChartEditor();
    google.visualization.events.addListener(chartEditorG1, 'ok', redrawChartG1);
    chartEditorG1.openDialog(wrapperG1, {});   
}

function redrawChartG1(){   
  wrapperG1 = chartEditorG1.getChartWrapper();  
  wrapperG1.draw();
}

How can I make the loadEditorG1() function open up the editor on the "Customize" tab? By default Google ChartEditor opens up on the "Start" tab.

Reply all
Reply to author
Forward
0 new messages