I'm using ChartJS 3.7 and even when I pass options.plugins.legend.display a true, the legend isn't displayed. How do I get the legend to show?
Looks like newer versions of ChartJS require you to register the individual elements you're going to use. You need to register the legend specifically.
import { Chart, Legend } from 'chart.js';
// ...
Chart.register(Legend);