相关疑难解决方法(0)

想要在 highcharts/highstock 中使用鼠标滚轮移动 y 轴滚动条

参考我想用鼠标滚轮移动我的 y 轴滚动条的问题有什么办法吗?

  yAxis:
        {
            scrollbar: {
                enabled: true,
                showFull: false

            },
        }
Run Code Online (Sandbox Code Playgroud)

更新代码

波纹管是我更新的代码

var chart1 = new Highcharts.Chart({

        chart: {
            renderTo: 'container1',
            type: 'column',
            zoomType: 'xy',
            panning: true,
            panKey: 'shift',
            //type: 'column',
            //zoomType: 'xy',
            //panning: true,
            //pankey: 'shift',
            resetZoomButton: {
                position: {
                    //align: 'right', // by default
                    //verticalAlign: 'top', // by default
                    x: -10,
                    y: 350,
                    //height: 25
                },

                relativeTo: 'chart'
            }
        },
        scrollbar:{
            enabled: true
        },
        navigator: {

            //xAxis: {
            //    tickWidth: 0,
            //    lineWidth: 0,
            // …
Run Code Online (Sandbox Code Playgroud)

javascript jquery highcharts highstock asp.net-mvc-5

2
推荐指数
1
解决办法
1917
查看次数