Replies: 1 comment 3 replies
-
Most likely the fields you're reading are not present or have changed. Could you try sending a bit more info about what your data looks like? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Having a bit strange issue with HTML graph since latest grafana update. Grafana v9.1.4
`const htmlgraphicsValue = htmlNode.getElementById('htmlgraphics-value');
if (htmlgraphicsValue) {
var value = "";
var i = 0;
var text = {};
while (i < data.series.length){
const valueField = data.series[i]?.fields[1];
if (valueField) {
const length = valueField.values.length;
var result = valueField.values.get(length - 1)`
this has to be adjusted somehow to make it work again. But for now if it stays like it always has been then I get

\\\\\\\\\\\\
I have adjusted a bit so it looks like this and at least it shows data, but still it shows just some small part of it
`const htmlgraphicsValue = htmlNode.getElementById('htmlgraphics-value');
if (htmlgraphicsValue) {
var value = "";
var i = 0;
var text = {};
while (i < data.series[0].fields[2].values.length){
const valueField = data.series[0].fields[2];
if (valueField) {
const length = valueField.values.length;
var result = valueField.values.get(length-1)`
Beta Was this translation helpful? Give feedback.
All reactions