且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Google地理图表中隐藏工具提示标题(并在工具提示中显示其他信息)

更新时间:2023-11-14 17:59:52

您可以将工具提示的showTitle选项设置为false

Instead of the CSS above to hide the title, you can set the showTitle option for the tooltip to false

tooltip: {
        isHtml: true,
        showTitle: false
    }

然后,您可以在工具提示中使用HTML标记以完全按照所需的方式显示工具提示.

Then you can use HTML markup in your tooltip to display the tooltip exactly the way you want.