How to Create Doughnut Chart with Labels Outside with Connecting Line in Chart js

How to Create Doughnut Chart with Labels Outside with Connecting Line in Chart js

Chart JS

2 года назад

23,672 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ilia Broudno
Ilia Broudno - 24.08.2023 03:43

Can you post a link to your code please?

Ответить
ha thuan
ha thuan - 27.06.2023 04:26

why when I select a legend to hide the dataset (checked that the condition hiddenIndices is satisfied to hide the line and text), when I turn the legend back on, it doesn't show up again?

Ответить
Alessandro P.
Alessandro P. - 08.06.2023 11:30

Nice.
I have a little issue, in my doughnut chart.
I have a lot of data and little slices, the label outside overlaps each other, how can avoid overlapping?

Ответить
Bagus Sonarangga
Bagus Sonarangga - 31.05.2023 06:06

thankyou

Ответить
mohanavamsi Kalangi
mohanavamsi Kalangi - 17.05.2023 17:21

HI this was a nice way and I have implemented this and worked but in my page I am destroying the chart and rebuilding again . When this happens the font of the text shown is becoming bolder . How to solve this ??

Ответить
fish the robot
fish the robot - 10.05.2023 23:50

Thank you very much learned much, thanks for explaining it so well and taking the time to make these videos. I Appreciate it, thx.

Ответить
old old
old old - 02.03.2023 05:58

In my dashboard I need multiple charts in the same page with different values. How can I do it?

Ответить
Seven77tw
Seven77tw - 20.02.2023 09:45

life saver

Ответить
Arian Quechua
Arian Quechua - 07.02.2023 18:46

Would you mind to publish this plugin as an npm package?

Ответить
Ankan Brahmachary
Ankan Brahmachary - 26.12.2022 13:36

Hey... Could you please help me on how to use this technique with ng2 charts in angular 15? Is there any work around for that?

Ответить
afsar ali
afsar ali - 22.12.2022 14:00

Thank you for the video. It's great help.
I have a question though - when the slices of the Chart are small, the labels are overlapping with each other. How to fix this?

Ответить
KS Langdon
KS Langdon - 09.12.2022 08:23

Excellent tutorial! thanks. But how do I show the data in percentage instead of the label?

Ответить
ritesh singh
ritesh singh - 24.10.2022 09:31

Thank you very much the way you explain step by step and very simple to understand.
I am facing issue in this. When the data points have big difference like: data: [3, 2, 1, 100, 105] then labels are overlapping.
Please provide some solution.
Thanks

Ответить
Bhumika Shah
Bhumika Shah - 18.10.2022 13:52

Thank you for the video. It's of great help.
I have a question though - when the slices of the Chart are small, the labels are overlapping with each other. How to fix this? Kindly respond.

Ответить
exel avendaño
exel avendaño - 07.10.2022 02:23

Awesome, wonderful ... no words!!. Excelent explained!

Ответить
Chinedu Otutu
Chinedu Otutu - 04.10.2022 11:43

Nice video man!!! I want to ask how can I get the lines to start from the centre but on top of each slice, right now it starts at the centre but from inside each slice, thanks!!

Ответить
INDOFIZ
INDOFIZ - 22.09.2022 21:19

Well, when i use pie, the tooltip far from the side, how can i change the position of tooltip (Side Pie)

Ответить
Prasad Gore
Prasad Gore - 09.09.2022 19:34

When there is small and very large datasets labels overlapp, what is the solution for that

Ответить
Sahil Agarwal
Sahil Agarwal - 06.09.2022 15:20

Is it possible to do the same to chartjs 2.9.4?

Ответить
SHRIIO
SHRIIO - 23.08.2022 20:07

Holy shit dude, thanks so much.

Ответить
Juliana Scandola Frossard
Juliana Scandola Frossard - 05.08.2022 19:41

Thank you for the video, but i wanna know how to Create PIE Chart with Labels Outside with Connecting line

Ответить
Kasper Skov
Kasper Skov - 05.07.2022 13:27

So one thing I can't figure out is why your x and y tooltip coordinates aren't influenced by your chart padding. Or maybe it really is. If you were to set the padding to chart width / 2, wouldn't all your calculations be off by padding x value? The tooltip coordinates are calculated from canvas edges not the chart edges.

Ответить
Mauricio Sánchez
Mauricio Sánchez - 24.06.2022 03:01

Nice Video and really great content. Question, how can I make the same thing but with the datalabels inside each slice in piechart for example?, like when you have percentage datalabels inside each slice. Thanks!

Ответить
Sanjeeb Gochhayat
Sanjeeb Gochhayat - 18.05.2022 12:17

i do not get the data while console.log(chart.data.datasets)...anyone have the solution

Ответить
Klaudia Ficak
Klaudia Ficak - 29.04.2022 23:38

THANK YOU !!!

Ответить
juan carlos carrasquilla pelaez
juan carlos carrasquilla pelaez - 01.04.2022 16:32

how can I do this with chart js (2.9.3) - ng2 chart(2.3.2)?

Ответить
Crypto Kosh
Crypto Kosh - 07.03.2022 11:34

Really great tutorial ✅✅

Ответить
Adenuga Ayoade
Adenuga Ayoade - 27.02.2022 13:48

Thank you for this❤

Ответить
Kshitij Khot
Kshitij Khot - 20.02.2022 15:46

nice explanation , THANKS A LOT. 🙃🙃.

Ответить
Ivan Kosheliev
Ivan Kosheliev - 07.02.2022 18:19

Hey, how to create multiple labels that not depends from numbers of data. For example like speedometer? is it possible to arrange the elements in that way?

Ответить
Saml Okta
Saml Okta - 07.02.2022 14:42

How can we achieve same in piechart. Thanks

Ответить
Gary
Gary - 25.01.2022 04:09

does it work with react typescript?

Ответить
Замир Юсупов
Замир Юсупов - 23.12.2021 12:13

WOW! Very appreciate! You helped me and safe my time!

Ответить
Na minha época era melhor
Na minha época era melhor - 14.12.2021 23:28

Great video friend, I would like you to explain in video how to make a chart that automatically updates with data in json...thanks great video

Ответить