如何删除highcharts上的底部缩放栏?

时间:2015-01-21 12:36:13

标签: highcharts highstock

如何删除highcharts中突出显示的区域? 请分享你的答案。谢谢 enter image description here

1 个答案:

答案 0 :(得分:5)

这是通过禁用navigator来完成的。见enabled。简单的例子:

$(function () {
    $('#container').highcharts('StockChart', {

        navigator: {
            enabled: false
        },

        rangeSelector: {
            selected: 1
        },

        series: [{
            name: 'USD to EUR',
            data: usdeur
        }]
    });
});