1

这是jsFiddle

在 Chrome 和 Firefox 中运行良好,但是当我在 IE 中单击“下载”文本时,菜单出现格式错误。知道为什么吗?这是可能需要调整的代码。

exporting: {
        buttons: {
            contextButton: {
                enabled: false
            },
            exportButton: {
                text: 'Download',
                // Use only the download related menu items from the default context button
                menuItems: Highcharts.getOptions().exporting.buttons.contextButton.menuItems.splice(2)
            },
            printButton: {
                text: 'Print',
                onclick: function () {
                    this.print();
                }
            }
        }
4

0 回答 0