I am creating a highcharts. But when the chart finishes loading, i can see 3 buttons for context menu and only one of them functional. Please look at the image:
我刚刚在 html 中包含了这些脚本标签:
src =“http://code.highcharts.com/highcharts.js”
src =“http://code.highcharts.com/modules/exporting.js”
尝试添加导出选项:
var chart1 = new Highcharts.Chart({
chart: {
// ...
},
exporting: {
buttons: {
contextButtons: {
enabled: false,
menuItems: null
}
},
enabled: true
},
// ...
到您的图表选项。看来它可以解决你的问题。
编辑:我只是编辑代码,试试吧。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)