Highcharts - rangeSelector 3M在选择7Y后没有响应

时间:2016-07-14 13:19:22

标签: highcharts highstock

重现的步骤:

  1. 点击3M(工作正常)
  2. 点击7Y(工作正常)
  3. 点击3M(不工作
  4. 代码:

    buttons: [{
                    type: 'month',
                    count: 3,
                    text: '3M',
                    dataGrouping: {
                        forced: true,
                        units: [['month', [1]]]
                    }
                },
                {
                    type: 'month',
                    count: 6,
                    text: '6M',
                    dataGrouping: {
                        forced: true,
                        units: [['month', [1]]]
                    }
                },
                {
                    type: 'ytd',
                    text: 'YTD'
                }, 
                {
                    type: 'year',
                    count: 1,
                    text: '1Y',
                    dataGrouping: {
                        forced: true,
                        units: [['month', [1]]]
                    }
                },
                 {
                    type: 'year',
                    count: 7,
                    text: '7Y',
                    dataGrouping: {
                        forced: true,
                        units: [['month', [1]]]
                    }
                }
    
                ]
    

    演示: http://jsfiddle.net/nhb1812d/2/

0 个答案:

没有答案