V
V
Vitaly2020-04-15 20:20:05
Vue.js
Vitaly, 2020-04-15 20:20:05

How to add text inside pie elements in Chartjs?

I don’t understand how this can be implemented:
5e9744628321c147805699.png

I mean the percentages inside the chart.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
0
0xD34F, 2020-04-15
@Scorpiored88

chartjs-plugin-labels
https://jsfiddle.net/86hpuba4/
UPD. Taken from the comments:

I write on Vue, and unfortunately I am still not very familiar with Vue, so I still find it difficult to connect this plugin

To make working with vue easier, use vue-chartjs . The plugin itself is available as an npm module, so there is no problem to connect it .

V
Vladimir, 2020-04-15
@HistoryART

Perhaps this will help.
click

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question