2016-10-28 54 views
0

我使用highcharts-ng,当我用导航器绘制柱形图并在其上应用动画时。只有导航线动画。Highcharts NG stockchart动画效果只在导航器上类型:列

{ 
    "options": { 
    "chart": { 
     "backgroundColor": "#eaeaf2", 
     "type": "column", 
     "zoomType": "xy" 
    }, 
    "navigator": { 
     "enabled": true 
    }, 
    "plotOptions": { 
     "series": { 
     "animationLimit": "Infinity", 
     "animation": { 
      "duration": 9000 
     } 
     } 
    }, 

    }, 
    "credits": { 
    "enabled": false 
    }, 
    "useHighStocks": true, 
    "series": 
} 
] 
} 

highcharts-ng

Jquery highcharts same data

回答

1

它是在一个已知的错误highcharts-NG由导航器引起的。已报告here。 作为解决方法,您可以在图表属性中定义全局动画。

"chart": { 
    "backgroundColor": "#eaeaf2", 
    "type": "column", 
    "zoomType": "xy", 
    "animation": { 
     "duration": 9000 
    } 
}, 

例如:http://jsfiddle.net/r88yszk0/488/