chart testing

This commit is contained in:
DeltaLima 2025-04-10 03:24:09 +02:00
parent 46311d5310
commit 6af92aa7d8

View file

@ -358,7 +358,7 @@ function DrawChart() {
var cell = [];
for(let j = 0; j < chartSum; j++) {
/* check if data is present */
if((ChartJson.chart[j].hasOwnProperty('data')) && (ChartJson.chart[j].data[i] != "undefined")) {
if((ChartJson.chart[j].hasOwnProperty('data')) || (ChartJson.chart[j].data[i] != "undefined")) {
cell[j] = row[i].insertCell(j);
cell[j].innerHTML = '<span class=\'data minw\'> ' + ChartJson.chart[j].data[i] + '</span>';