This is my chart code
datasets: [
{
label: "Fraction KG",
data: data,
backgroundColor: [
"rgba(255, 99, 132, 0.2)",
"rgba(54, 162, 235, 0.2)",
"rgba(255, 206, 86, 0.2)",
"rgba(75, 192, 192, 0.2)",
"rgba(200, 121, 121, 0.2)",
],
},
],
labels: label
And this is how my chart looks:

Why is not the list beside the chart not showing is there some option value yu have to set?
this is the pie component
PieChart.js
import { Pie, mixins } from 'vue-chartjs';
import globalOptionsMixin from "./globalOptionsMixin";
export default {
name: 'pie-chart',
extends: Pie,
mixins: [mixins.reactiveProp, globalOptionsMixin],
props: {
extraOptions: {
type: Object,
default: () => ({})
}
},
data() {
return {
ctx: null
};
},
mounted() {
this.$watch(
'chartData',
(newVal, oldVal) => {
if (!oldVal) {
debugger;
this.renderChart(this.chartData, this.extraOptions);
}
},
{ immediate: true }
);
}
};
