I'm using a lot of pie and doughnut charts with two data values in a project. It really annoys me that since the chart slices starts from the top going clockwise, the labels end up looking reversed: on the opposite side of the data it represents.
Is there an easy way to reverse the label order, or reverse the chart to run counter-clockwise?
new Chart(context, {
type: 'doughnut',
data: {
labels: [ 'Blue', 'Red' ],
datasets: [
{
data: [7, 3],
backgroundColor: [
'rgba(54, 162, 235, 0.7)',
'rgba(208, 54, 100, 0.7)',
],
},
]
}
});
