CorpGlory / grafana-multibar-graph-panel

A plugin implementing https://github.com/grafana/grafana/issues/870
MIT License
75 stars 7 forks source link

Error with Pie chart and Multibar Graph Panel on dashboard #7

Closed deepminimal closed 6 years ago

deepminimal commented 6 years ago

Hello again! I have issue with Multibar Graph Panel. 1) Add Multibar Graph Panel image

2) Add Pie chart image

1.1) Delete Multibar Graph Panel image

node -v v9.8.0

npm -v 5.8.0

grafana-cli -v Grafana cli version 4.6.3

Centos 7.

rozetko commented 6 years ago

Hi @deepminimal!

Have you tested it with default Grafana's Graph plugin?

I haven't ever used PieChart plugin. So can you please explain what is expected behaviour?

deepminimal commented 6 years ago

https://grafana.com/plugins/grafana-piechart-panel/installation Pie Chart is a plugin from Grafana Labs.

I want to use Pie chart and Multibar Graph Panel in one dashboard.

With standart Graph panel everything is ok. image

But when i add Multibar Graph Panel, a Pie Chart panel broken like this: image

rozetko commented 6 years ago

@deepminimal OK, i see. Need to do some research to fix this bug. Will keep you informed.

BTW, thanks for the detailed description with screenshots!

nsayedqt commented 6 years ago

Any update on this? I am seeing similar results. when I add the multi bar graph, all my pie charts in the dashboard go blank.

jonyrock commented 6 years ago

@rozetko can I ask you to explore it a bit. Is it connected with https://github.com/CorpGlory/grafana-graph-panel/issues/6 ?

rozetko commented 6 years ago

@jonyrock ok, I'll look into this

sankerust commented 6 years ago

@jonyrock Seems like current issue is not connected to https://github.com/CorpGlory/grafana-graph-panel/issues/6. However same bug is here: https://github.com/CorpGlory/grafana-graph-panel/issues/7

Will keep looking into it.

rozetko commented 6 years ago

Hey, @deepminimal @nsayedqt Here is an update on this issue. I managed to fix it for initial grafana-graph-panel plugin. This PR fixes it: https://github.com/CorpGlory/grafana-graph-panel/pull/8 But, unfortunately, I came up with some problems with integrating it into this repo If someone could do it - PRs would be appreciated

P.S. all problems are because of flot plugin and a way it uses plugins

rozetko commented 6 years ago

Here is the solution: https://github.com/hastic/hastic-grafana-graph-panel/pull/53/files

nsayedqt commented 6 years ago

Any update on integrating the above solution into this repo? I am still seeing the issue. Would really appreciate if the solution can be merged here. Thanks

rozetko commented 6 years ago

@nsayedqt @deepminimal bug is fixed via this PR https://github.com/CorpGlory/grafana-multibar-graph-panel/pull/15 But fix created another bug (https://github.com/CorpGlory/grafana-multibar-graph-panel/issues/16), working on it image

rozetko commented 6 years ago

@nsayedqt @deepminimal #16 is fixed also

davidfa94 commented 4 years ago

Hello everyone,

I have Grafana v6.5.3 (24e5e75) and the bug still exists for me.

The behaviour is the same as @deepminimal explained, but actually a little bit worse: once I add a Multibar Graph Panel, my Pie Chart gets screwed up forever. Even removing the Multibar panel doesn't fix it.