Open Tomas-M opened 4 years ago
If so, can you provide example usage? I can see the plugins: { labels: [{ ... }] } option is an array, but it does not seem to do anything useful.
Hi, Had the same problem. I resolved it with line 207 only (without function)
case 'label':
if (this.chart.config.data.labels.length >0 && this.chart.config.data.labels[index] != undefined){
label = this.chart.config.data.labels[index];
} else {
label = dataset.labels[index];
};
break;
regards
@petitmamouth please can you clarify exactly what you did to get the labels to be different per dataset? I can't quite follow what you mean above.
Is there a support for multiple datasets? For example when I have two doughnut charts, and I want labels for first doughnut to be outside, and then labels for second doughnut to be on border or using different textMargin, ... is it supported now?