Link to jsfiddle showing the issue.
http://jsfiddle.net/x7m3y51z/
Expected Behaviour
I have added an "Add Anno" button. When you press this button, an annotation "test2" should appear between "test1" and "test3".
Current Behaviour
Annotation "test1" and "test3" were added directly to $scope.chartConfig, and they show up and the chart. But test2 does not show when the the button is pressed. I have logged $scope.chartConfig into the console, and I can see that "test2" was added to $scope.chartConfig, however it just doesn't show on the chart.
Your Environment
- Version of highcharts-ng used: current version
- Browser Name and version: Chrome 65.0.3325.181
- Operating System and version (desktop or mobile): Windows 1709
Link to jsfiddle showing the issue.
http://jsfiddle.net/x7m3y51z/
Expected Behaviour
I have added an "Add Anno" button. When you press this button, an annotation "test2" should appear between "test1" and "test3".
Current Behaviour
Annotation "test1" and "test3" were added directly to $scope.chartConfig, and they show up and the chart. But test2 does not show when the the button is pressed. I have logged $scope.chartConfig into the console, and I can see that "test2" was added to $scope.chartConfig, however it just doesn't show on the chart.
Your Environment