2011-05-06 65 views

回答

1

目前沒有選項打開/關閉工具提示。但是,以下可以做的伎倆:

tooltip_iframe = window.frames[document.getElementById('your chart id').firstChild.name]; 
tooltip_dom = tooltip_iframe.document.getElementById('chart').firstChild.nextSibling.nextSibling; 
tooltip_dom.style.display = 'none'; 
2

我會嘗試觸發設置爲「無

chart.draw(data, {trigger:'none'}); 
2

要刪除,你必須做這樣的提示:

chart.draw(data, {tooltip: {trigger:'none'}}); 

你如果您不希望圖表對任何用戶操作做出反應,還可以移除所有交互功能:

chart.draw(data, {enableInteractivity: false});