1๐
โ
I was able to fix this by moving legend.position from options to options.plugins
const options = {
responsive: true,
animation: {
animateRotate: false,
animateScale: true,
},
plugins: {
legend: {
position: "right",
},
title:{
display: true,
text: "Current Allocations",
},
}
};
Source:stackexchange.com