chartjs-plugin-piechart-outlabels icon indicating copy to clipboard operation
chartjs-plugin-piechart-outlabels copied to clipboard

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

Open RichardFans opened this issue 8 years ago • 9 comments

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!

RichardFans avatar Dec 06 '17 11:12 RichardFans

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!

mykola-digtiar avatar Dec 06 '17 14:12 mykola-digtiar

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!

RichardFans avatar Dec 07 '17 02:12 RichardFans

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

douwevdijk avatar Jan 02 '18 13:01 douwevdijk

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

thkim9012 avatar Jun 07 '18 13:06 thkim9012

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

face avatar Jun 24 '18 00:06 face

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.

tommypeterz avatar Sep 06 '19 07:09 tommypeterz

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.

mykola-digtiar avatar Sep 06 '19 10:09 mykola-digtiar

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.

tommypeterz avatar Sep 10 '19 08:09 tommypeterz

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?

kylekirkby avatar Dec 09 '20 12:12 kylekirkby