Posts by Lucas Alberth • 1 point
2 posts
-
0
votes1
answer39
viewsA: I need to add the percentage value to the caption (Chartsjs)
Fixed by editing the Input of the obtained value. @Input() set chartLabels(value) { this.labels = value; const data = this.chartData[0].data; const total = this.getTotal(data); let index = 0;…
-
-1
votes1
answer39
viewsQ: I need to add the percentage value to the caption (Chartsjs)
I wanted to add the value of percentages to the caption, I have tried several ways, and still could not the solution to my problem. Component with chart settings @Input() chartData: chartData;…