grafana / piechart-panel

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

Pie Chart Render not showing Legend properly #151

Closed fatalglitch closed 5 years ago

fatalglitch commented 6 years ago

What Grafana version are you using? - v5.1.4

What datasource are you using? - Elasticsearch

What OS are you running grafana on? - Linux

What did you do? - piechart render

What was the expected result?- piechart render with legend on the right side

What happened instead? - piechart render with no legend

If related to metric query / data viz:

When running a render URL against an existing Pie Chart, the resulting PNG does not have the legend showing up properly. It appears to drop to the bottom right most section, and then not be visible.

Reproducable by creating a pie chart viz, marking it to show the legend, and then running the render URL call:

https://my.grafana.com/render/d-solo/000000096/_?from=now-1h%2Fd&height=500&panelId=8&theme=dark&to=now-5m&width=1000

eddiewang927 commented 6 years ago

I have same problem When I get piechart's png with API, values can't show on right side

31

fatalglitch commented 5 years ago

This is still occurring in 5.3.4 of Grafana with 1.3.3 of the piechart-panel, any update on this?

torkelo commented 5 years ago

issue with phantomjs, can be solved by using our new image rendering plugin instead that uses headless chrome.

Required nodejs & yarn & yarn install, https://github.com/grafana/grafana-image-renderer

Tetraneon commented 5 years ago

Hi,

My config:

Instead having a error message after a LONG time, i have immediatly the message : "Rendering failed."

Logs : t=2019-01-02T17:17:15+0100 lvl=eror msg="Rendering failed." logger=context userId=3 orgId=3 uname=XXXXX error="Rendering failed: Error: net::ERR_CERT_COMMON_NAME_INVALID at https://localhost:3000/d-solo/000000003/YYYYYYYY?refresh=5m&orgId=3&from=1545838937000&to=1546443137000&panelId=34&width=1000&height=500&tz=Europe%2FParis&render=1""

And now, I have this message with all charts...

Tetraneon commented 5 years ago

Hi guys, I don't know when or how but it works now. Many thanks !

fatalglitch commented 5 years ago

Ours now seems to "magically" be working as well. I'm assuming the phantomjs dependencies are pulled from a 3rd party source, and that bug was fixed. I'm marking this resolved/closed at this point.