GrantMStevens / amCharts-Angular

Angular directive for amCharts library
Apache License 2.0
63 stars 39 forks source link

added possibility to set id via controller's variables #58

Closed sergVedmak closed 8 years ago

sergVedmak commented 8 years ago

If we try to use am-chart in ng-repeat cycle without id attribute, all works fine, but if try to set id - charts are not drawn (https://jsfiddle.net/jzoekjwv/). There is a situation when you need to know id's charts, for example you want update certain chart - $scope.$broadcast('amCharts.updateData', newData, rightId)

GrantMStevens commented 8 years ago

Merged. Thanks for the PR