stewones / angular-morris

Easy use of morris.js with angular.js
https://angular-morris.io
168 stars 62 forks source link

Support for dynamic donut chart color changes #54

Open jacobben85 opened 8 years ago

jacobben85 commented 8 years ago

Please include the line

scope.donutInstance.options.colors = scope.donutColors;

at https://github.com/stewones/angular-morris-chart/blob/master/src/angular-morris-chart.js#L319 to enable dynamic color changes from the angular controller.

stewones commented 8 years ago

hi @jacobben85

running out of time for now, anyway thx for the suggestion. I'll patch asap.