全屏模式下缺少 Highcharts 甘特图垂直滚动条

Highcharts Gantt Vertical Scrollbar Missing in Full Screen Mode

我在 fullscreen 模式下查看时遇到 Highcharts Gantt 8.0.0 的问题,垂直滚动条似乎丢失了。

Highcharts.ganttChart('gchart-container', {
     // ... among other options, here are the related 
     // scrolling / exporting options being used

    scrollbar: {
       enabled: true
    },
    exporting: {
            enabled: true,
            // just trying a few different things here ... 
            chartOptions: {
                xAxis: [{
                    max: null
                }]
            },
            accessibility: {
                enabled: true
            },
            menuItemDefinitions: {
                "viewFullscreen" : { 'text': 'View Full Screen'},
                "downloadPDF": { 'text' : 'Download PDF'},
                "downloadPNG": { 'text' : 'Download PNG'},
                "downloadJPEG": { 'text' : 'Download JPEG'}
            },
            buttons: {
                contextButton: {
                    menuItems: ['viewFullscreen', 'separator', 'downloadPDF', 'downloadPNG', 'downloadJPEG']
                }
            }
    },
});

DOM#gchart-container div 中呈现的正常模式下查看图表时没有问题(注意右侧浏览器的垂直滚动条).

相反,当单击导出按钮并选择 "View in Fullscreen" 时,我拥有任务层次结构的全部功能 (expanding/collapsing),但垂直滚动被禁用或删除...

关于如何在 exporting/fullscreen 模式下启用垂直滚动有什么想法吗?提前致谢!

它看起来像一个错误。我在官方 Highcharts 问题频道上报告了它。以下是关注此主题的 link。如果您需要解决方法,请在 GH 上的这张票下说出来 - 核心开发人员应该回复您。

Link 发出:https://github.com/highcharts/highcharts/issues/12832