mykola-digtiar / chartjs-plugin-piechart-outlabels

Highly customizable Chart.js plugin that displays labels outside the pie/doughnut chart.
https://piechart-outlabels.netlify.com/sample/
MIT License
52 stars 39 forks source link

some labels will be invisiable when there are too many items. this issue fixed will make this plugin awesome #2

Open RichardFans opened 6 years ago

RichardFans commented 6 years ago

some labels will be invisiable when there are too many items. like this: 123

this issue fixed will make this plugin really really really... very very very... awesome!

mykola-digtiar commented 6 years ago

Hi! Yes, I know about this issue, but I haven't fixed it so far. I will try to fix this issue tomorrow. Thanks for Your feedback, anyway!

RichardFans commented 6 years ago

Hi, @Neckster, thanks for your answer! I have some suggestion:

  1. best can drag to move the chart to see the whole thing : - )
  2. or resize the canvas according to the outermost labels. thanks for your job again!
douwevdijk commented 6 years ago

+1 to have a fix for this. For the rest, this plugin is awesome

thkim9012 commented 6 years ago

Is this fixed? This plugin is very cool ! I have been looking for like this.

face commented 6 years ago

While maybe not generic enough to merge, here is a solution that works for small datasets: https://github.com/Neckster/chartjs-plugin-piechart-outlabels/pull/6

tommypeterz commented 5 years ago

Most charts here are done with data sorted from largest to smallest member, which means that there will often be several labels pointing upwards making it hard to make the labels both readable and fitted onto the canvas. Best would be if the line connecting the label to the chart wouldn't always point outwards like a radius but could bend to the side. This would allow the actual chart to be larger as well.

mykola-digtiar commented 5 years ago

Hi all! I am grateful for your feedback. Now I have some free time, so I will try to fix all open issues and make a new fresh release.

tommypeterz commented 5 years ago

What would really be nice would be a "hybrid version". I believe many users would like this... Show labels as default inside the pie pieces and when they would overlap, then create an outlabel (which is not a simple radius but having a "knee" bent to the side). The plugin whos ideas this is said to been built on has a check if labels would overlap, but then simple doesn't show these labels. This plugin has the possibility of showing them.

I mean, don't touch the 'outlabelpie' but add this functionality to the standard 'pie' chart.

kylekirkby commented 3 years ago

Hi all! I am grateful for your feedback. Now I have some free time, so I will try to fix all open issues and make a new fresh release.

@Neckster - any update on this? Could we add some other maintainers if there is no time for you to support this project?