Teslamate: Grafana piechart plugin missing

Created on 23 Jan 2020  Â·  16Comments  Â·  Source: adriankumpf/teslamate

Get an error in Charge-Stats dasboard in 1.15.

Seems a plugin is missing.

0DD8B8DF-12DF-4743-8F0B-460B4B9487F4

bug

Most helpful comment

According to the logs it is installed:
grafana_1 | installing grafana-piechart-panel @ 1.3.9
grafana_1 | from: https://grafana.com/api/plugins/grafana-piechart-panel/versions/1.3.9/download
grafana_1 | into: /var/lib/grafana/plugins
grafana_1 |
grafana_1 | ✔ Installed grafana-piechart-panel successfully
grafana_1 |

And after a reload of the page in the browser I get now this:
Bildschirmfoto 2020-01-23 um 16 29 17

All 16 comments

Docker or Manual install? If the latter is the case, you're gonna have to install the grafana-piechart-panel plugin.

Docker, made a docker-compose pull.
Did the docker-compose.yml change?

Hm. No changes made. Did you add any custom docker volumes? Grafana usually (re)installs all plugins on startup. Could you add the logs of the grafana container?

According to the logs it is installed:
grafana_1 | installing grafana-piechart-panel @ 1.3.9
grafana_1 | from: https://grafana.com/api/plugins/grafana-piechart-panel/versions/1.3.9/download
grafana_1 | into: /var/lib/grafana/plugins
grafana_1 |
grafana_1 | ✔ Installed grafana-piechart-panel successfully
grafana_1 |

And after a reload of the page in the browser I get now this:
Bildschirmfoto 2020-01-23 um 16 29 17

had the same issue, but after restarting docker it magically appeared on one side, but not the other one.
also when hovering with the mouse, you can see values, but you don't see the pies.. kind of weird behavior.

For what it's worth, I have 3 cars; car id 1 and 2 are missing the pie charts, though the labels can be seen with the mouse-hover. Car id 3 pie charts are visible. A manual restart had no effect.

Had the same issue upon install - mouse over could provide the values. Restart of docker did not resolve the issue.

I see the same behavior as ctraber above, restart didn't help.

"Could not draw pie with labels contained inside canvas"

I notice that the pie chart displays when you click the dropdown "AC/DC -kwh" and select "view". In my case, the two cars that don't display properly are >99% AC, while the one that does display properly is 56%/44% in AC/DC and 92%/8% in the duration. More room in this one?

Can the labels be made to draw outside the pie?

For my car the tooltips show 97,89 and 99,74 and both piecharts are not working with "Could not draw pie with labels contained inside canvas"

I figured it out, it's the fact the windows the pie charts are in are too small. If I drag the box containing the piechart to a larger size, then it then appears as expected.

It needs to be one "size" up from where it is to display properly at a minimum.

The legend position could be changed to be "Under graph" or "Right side" instead and it will always work regardless of window size and how thin the AC vs DC sliver is.

Does anyone on v1.16 still have the problem?

Does anyone on v1.16 still have the problem?

Looks good @adriankumpf on v1.16

The first one with kWh works now on my iPhone. The second with Durstion still not.

8A0595CE-83B8-47CC-A3F7-A042AE334178
502D8333-1088-45A7-A7D1-5D8155889818

Okay, too bad. Then I guess the position of the legend has to be changed, as @twinor suggested, even though the current one looks slightly better imo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phantom1584 picture phantom1584  Â·  4Comments

olivercho picture olivercho  Â·  4Comments

detritu5 picture detritu5  Â·  4Comments

Try2Fly picture Try2Fly  Â·  5Comments

spacecosmos picture spacecosmos  Â·  5Comments