Hello everyone! I need to add new elements to Grafana’s Canvas plugin.
I need to add table and graph elements in “Add item”. How can this be done?
Hello everyone! I need to add new elements to Grafana’s Canvas plugin.
I need to add table and graph elements in “Add item”. How can this be done?
Hi @maxymzakharkiv,
The Canvas panel does not support adding Table and Graph elements.
What is it you’re trying to show? The better option would be to add separate Table and Graph (Bar, Line, etc) panels to your dashboard.
For a full overview of what is currently supported in the Canvas panel please see the Canvas documentation.
Thank you for your response! Did I understand correctly that I won’t be able to create custom table and graph elements for Canvas visualization as described in this article: Pizzeria observability on Grafana Canvas panel | Volkov Labs?
You can certainly use the Canvas panel to create custom visuals for your dashboard, such as the pizza example in the link you gave. But the Canvas panel itself does not support adding dynamic Table or Graph elements directly. Instead, the Canvas supports adding elements such as basic shapes, text, and metric values (from the connected data source).
If however you want to display tabular data or graph visualisations, it would be a better fit for you to use those specific panel types in your dashboard.
Thank you for your response!