MarcusCalidus / marcuscalidus-svg-panel

Grafana panel for displaying metric sensitive SVG images using the snap svg library
MIT License
62 stars 28 forks source link

panel.doInit is not a function in Grafana 5 #2

Closed lfdominguez closed 6 years ago

lfdominguez commented 6 years ago

Hello, I'm testing this in Grafana 5 beta and when I configure the plugin in first time, they works, but then when i update the dashboard then show the SVG, but with this error (panel.doInit is not a function) screenshot_20180206_162025

MarcusCalidus commented 6 years ago

Hi Luiz,

thank you for your input. I am a bit behind schedule with testing on Grafana 5. I will look into that issue as soon as possible.

Have a great day Marco

lfdominguez commented 6 years ago

Thanks for respond, this plugin let me draw with SVG my network diagram and configure the metrics with custom grapgics, that's great !!!!! If I add the pannel and configure it without refresh the page, then works, the problem is when refresh the page (initialize the panel).

MarcusCalidus commented 6 years ago

The issue is addressed in commit: https://github.com/MarcusCalidus/grafana-svg-panel/commit/9522691756a8e53d3c2d5968c1b755e2f5588bb6

Please let me know if it works for you. Thank you very much for your patience

PS ... would love to see a screenshot of your implementation

lfdominguez commented 6 years ago

Great, now there are not errors!!!!!! When i finish the SVG I will show you, thanks....