I'm using Angular Chart and I have a doughnut chart. I want to have specific colors for my data.
For example:
$scope.labels = ["Oranges", "Bananas", "Avocados"];
$scope.data = [300, 500, 100];
$scope.colors = [
"#ff9900", // oranges are orange :)
"ffff00", // bananas are yellow
"1E824C"]; // avocados are green
Now, I can only change the global colors, but this doesn't guarantee me that the oranges are going to be orange, the bananas yellow and the avocados green. Moreover, I have more than one doughnut chart where the same series are used and they have to be with the same colors - e.g. the bananas are always yellow.
How can I achieve this?