最佳答案
设置图表选项 tooltip
以确保显示 html 工具提示
tooltip: {
isHtml: true
}
然后你可以覆盖工具提示类,
使用以下 css 来防止包装...
.google-visualization-tooltip-item {
white-space: nowrap;
}
关于html - 谷歌图表 : How to increase width of tooltip,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45142164/