我们可以在高图中添加放大功能吗

时间:2019-07-01 09:20:34

标签: angular highcharts

enter image description here

以上图表为高位库存,因此高位图具有放大功能。我们可以在highcharts中获得相同的功能吗?请帮忙!!!

1 个答案:

答案 0 :(得分:0)

是的,可以。您需要使用Highstock源代码才能启用具有基本chart构造函数类型的导航器:

Highcharts.chart('container', {
    series: [{
        data: [...]
    }],
    navigator: {
        enabled: true
    }
});

实时演示: http://jsfiddle.net/BlackLabel/aug9L52r/

API参考: https://api.highcharts.com/highstock/navigator.enabled

相关问题