2011-05-06 93 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});