#11282 Fixed basic chart

This commit is contained in:
Daniel Maya 2023-05-22 10:37:52 +02:00
parent efd2adac06
commit 466e44681d

View File

@ -1975,25 +1975,27 @@ function pandoraFlotArea(
!(type == 1 && /percentil/.test(index) == true) && !(type == 1 && /percentil/.test(index) == true) &&
!(type == 3 && /percentil/.test(index) == true) !(type == 3 && /percentil/.test(index) == true)
) { ) {
data_base.push({ if (color[index] !== null) {
id: "serie_" + i, data_base.push({
data: value.data, id: "serie_" + i,
label: index, data: value.data,
color: color[index]["color"], label: index,
lines: { color: color[index]["color"],
show: line_show, lines: {
fill: filled, show: line_show,
lineWidth: lineWidth, fill: filled,
steps: steps_chart lineWidth: lineWidth,
}, steps: steps_chart
points: { },
show: points_show, points: {
radius: radius, show: points_show,
fillColor: fill_points, radius: radius,
fill: filled fillColor: fill_points,
}, fill: filled
legend: legend.index },
}); legend: legend.index
});
}
} }
} }
i++; i++;