Doughnut Kind chart with multiple series

Asked

Viewed 39 times

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:

Gráfico com duas cores (uma dentro da outra)

However, what I need is a graph where the colors are shown as follows:

Gráfico com duas cores (uma ao lado da outra)

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.

  • Hello Lucas, Translated.

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.