I need to add a shadow behind the doughnut, I tried with CSS like:
canvas {
box-shadow: 12px 21px 24px 0px rgba(0, 0, 0, 0.21);
}
But that applies the shadow to the canvas box, not the doughnut.
How can I do this?
var myChart = new Chart(ctx, {
type : 'doughnut',
data : data,
});