How to create canvas to draw custom gauges


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?


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.