grafana / piechart-panel

Pie Chart Panel Plugin
MIT License
151 stars 101 forks source link

Piechart legend on graph overlaps #185

Open deeky666 opened 5 years ago

deeky666 commented 5 years ago

Something is wrong with displaying the legend on graph now. The margin between the legend and the graph seems to be gone. It used to work until recently but I cannot say if it is due to an update of the plugin. I tried different settings with font size etc. but nothing changes. Can someone help?

Grafana v6.2.5 Pie Chart plugin v1.3.8

Before Image_Pasted_at_2019-7-30_15-00 png

After Image_Pasted_at_2019-7-30_14-59 png

briangann commented 5 years ago

will take a look at prior version to compare the code/offsets. It possible there's an extra div in there causing this to not format correctly.

deeky666 commented 5 years ago

@briangann thank you!

wjcxy commented 5 years ago

I have the same problem.

ElWomSa commented 5 years ago

+1 (same problem here)

oferfic commented 5 years ago

I also have the same problem .

Raboo commented 5 years ago

please, if don't have anything to add. Use thumbs up emoji on the OP.

paulkukk commented 5 years ago

Do you know when the release to fix this issue will happen?

Domas709 commented 5 years ago

Have the same problem with Grafana v6.3.3

liuyu81 commented 5 years ago

Same problem here

Before (V1.3.6, Grafana 6.2.2)

WechatIMG270

After (V1.3.8, Grafana 6.3.3)

WechatIMG269

Florent-Mendoza commented 5 years ago

Hello, does anyone found a workaround or patch ?

sivan-koren commented 5 years ago

Florent, the latest version appears to turn the text white, which is a great workaround. Thanks to developer! Would be even better if we could set the font colors individually or have it automatically use the negative of the slice color.

yunglmb commented 5 years ago

Have a similar problem in v1.3.9 and the text does not match colour of the slice. Any updates?

jesjimher commented 5 years ago

Even with white text, values on top of the graph aren't always the best choice. Perhaps adding a parameter to legend elements to set distance from graph would be nice.