pablojim / highcharts-ng

AngularJS directive for Highcharts
MIT License
1.73k stars 463 forks source link

On inserting new axes into the configuration, the position / index will be ignored #633

Open Sogmog opened 6 years ago

Sogmog commented 6 years ago

Link to jsfiddle showing the issue.

Expected Behaviour

adding yAxis over the configuration -> also considered axis position! (Index / Position of Axis in chartConfig.yAxis )

jsfiddle:

In your Source-Code at:

this.addAnyNewAxes = function (configAxes, chart, isX) {

Current Behaviour

i need a custom workaround for re-adding all axis with addAxis ... to get the right Axis order!

Your Environment