Angular-nvd3 issue, failed to update chart when set data to newData
问题 It is a strange issue not only about nvd3 directive , I have steped into the directive source code, but still not find the reason. I put it in plunker, switch comment line 34 and 35 in app.js will show the issue. if I set a new value in $scope.data, the chart works well, but if I set a newData, the chart will not work. I've debug the angular-nvd3 directive, when I change the whole data object , the $watch('data') (angular-nvd3.js line 320) still work, but the scope.chart.update() not working