What Grafana version and what operating system are you using?
Grafana v12.3.1 running on Windows (browser-based dashboard editing).
What are you trying to achieve?
I want to show or hide a Canvas element (rectangle or image) depending on a query result / tag value.
Example:
If tag = 1, the rectangle should appear
If tag = 0, the rectangle should hide
How are you trying to achieve it?
I placed a Rectangle inside a Canvas panel, then attempted to configure Data mappings → Visibility rules, so the element responds to the latest value from a query.
What happened?
Even though the element type is “rectangle,” I cannot find the Data mappings section anywhere in the element options.
The right-side property panel only shows Canvas panel options, not element-level options (Fill, Border, Data, Data mappings, Bindings, etc.).
This happens even when selecting the rectangle from the layer list or clicking around the canvas.
