How to create canvas to draw custom gauges

Hello!

I am trying to create a plugin and add a canvas to draw custom gauges. However, I can create a canvas that is not controlled by Grafana… but that is not desirable. Is there anything that allows me to create a canvas and draw inside of Grafana’s panels?

Thanks.

I’m not sure what you mean by this. Grafana doesn’t have a low-level API for drawing things. You can use whatever technology you feel comfortable with, for example the HTML5 canvas or SVG. You can use pretty much any charting library out there.

That is my question. How do I use HTML5 canvas with Grafana? If I just create a canvas, Grafana doesn’t handle it. It will just exist in the background of the page. I am new to ‘web’ development.

Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.