ngx-charts icon indicating copy to clipboard operation
ngx-charts copied to clipboard

Display labels for small values in pie-chart

Open Liero opened this issue 5 years ago • 8 comments

Is your feature request related to a problem? Please describe. when there are small values (narrow slices) in the pie chart, the labes are just not displayed, see:

https://stackblitz.com/edit/ngx-charts-piechart-missing-labels?file=src/app/app.component.ts image

Describe the solution you'd like I need an option to display label for all serie values, even if they are 0. In my case, the smallest values are the most important one

Liero avatar Oct 18 '19 13:10 Liero

I would like to have the feature too.

pboewe avatar Oct 18 '19 13:10 pboewe

Facing same issue.

AtreyeeP avatar Nov 12 '19 10:11 AtreyeeP

Hi, i have also the same issue. Is there any progress or maybe a workaround available?

SwenVogel avatar Jan 31 '20 10:01 SwenVogel

Also needing this feature please! Same as #880

AlexAvatar88 avatar Feb 27 '20 12:02 AlexAvatar88

Bumping - does anyone have any update on this or a workaround?

xChristine7714 avatar Apr 05 '21 17:04 xChristine7714

The pull request fail but looking at the changes Liero made I cant see what would cause it not to be accepted

https://travis-ci.org/github/swimlane/ngx-charts/builds/600017858#L7

commit here if you want to add it to your local codebase yourself: https://github.com/swimlane/ngx-charts/commit/1ef974ec4d7a0d55cde618e48c21dcafd7308787

RigoCorp also submitted an update to correct this issue but that one also wasn't committed due to what I think looks like a non-descript Test failure https://github.com/RigoCorp/ngx-charts/commit/6ab63f01434f77ae251222047f6a6acfc8a0f7f0

Not sure exactly why two separate people submitted 2 fixes for this and both failed

smry-web avatar Mar 09 '22 21:03 smry-web

any update on this? seems perfectly reasonable to be able to show low value as labels too...

elazarza avatar Aug 14 '22 11:08 elazarza

@Hypercubed - can you help out here?

smry-web avatar Aug 15 '22 13:08 smry-web

at least give an option to choose whatever developers wants(if they want to show low values they will change the respective @input values or like that)

3San360 avatar Jan 10 '23 09:01 3San360