Reputation: 113
Have any way to do that?
Here is the Config part in PIE chart ...........
{
dataRequest: [],// data has here
config: [{
legend: {display: true, position: 'right'},
responsive: false,
plugins: { datalabels: { display: false } },
tooltips: {
enabled: false
}
}
Upvotes: 0
Views: 434
Reputation: 91
This one can help - https://www.chartjs.org/docs/latest/configuration/legend.html?h=reverse
"reverse" key does the job
Upvotes: 1