Closed Maltese-Falcon closed 8 months ago
@Maltese-Falcon Check the returned field names in Inspector or in the json output {{{json @root}}}
. They may be called differently that what you are using.
Names are correct:
{ "data": [ [ { "Time": 1712172240000, "statusColor": "#73BF69", "system_name": "...", "Value #A": 1, "Value #B": 1, "Value #C": 1 } ] ] }
@Maltese-Falcon Did you select "Every Row" or other options?
Based on your output, you have data
which indicates that you selected one of the other options. In this case you have to work with your fields using data
as described in the documentation: https://volkovlabs.io/plugins/volkovlabs-dynamictext-panel/recipes/#iterate-through-all-fields-in-each-record
@Maltese-Falcon Please read documentation and watch videos to get familiar with the plugin
Thank you.
P.S.: I was able to display conditional content with Render template=Every row
and after renamed fields with designations without spaces
.
I think this is something that should be included in documentation as a separate section.
Dynamic Text v4.5.0, Grafana v9.3.2 (disable_sanitize_html = true) - cannot visualize query result.
Attempt 1, display without condition:
No data. According to https://github.com/VolkovLabs/volkovlabs-dynamictext-panel/issues/23 that should work.
Attempt 2, display conditional content:
That doesn't work.