3
I am using Angular Charts to plot a Doughnut chart; my code is structured as follows:
$scope.data = [
['abc', 'def'],
['fgh', 'ijk'],
];
$scope.labels = ['Ask', 'Bid'];
$socpe.series = ['Volume Ask', 'Volume Bid'];
$scope.color = ['#66ff33', '#ffff00'];
The above code results in something like the following image:
However, what I need is a graph where the colors are shown as follows:
As we can see, the code is assigning one color per series and what I need is a graph with two colors per series.
Does anyone know if it is possible to create something like this using Angular Charts?
Grateful, Arnaut
Please Translate the Question to English or make a Question in Soen.
– BrTkCa
Hello Lucas, Translated.
– Arnaut