Merge branch 'ent-11282-dashboard-widget-de-grafica-simple-no-funciona-en-un-sistema-anterior-a-la-771-es-decir' into 'develop'
Ent 11282 dashboard widget de grafica simple no funciona en un sistema anterior a la 771 es decir See merge request artica/pandorafms!5929
This commit is contained in:
commit
108c72357a
|
@ -1975,25 +1975,27 @@ function pandoraFlotArea(
|
|||
!(type == 1 && /percentil/.test(index) == true) &&
|
||||
!(type == 3 && /percentil/.test(index) == true)
|
||||
) {
|
||||
data_base.push({
|
||||
id: "serie_" + i,
|
||||
data: value.data,
|
||||
label: index,
|
||||
color: color[index]["color"],
|
||||
lines: {
|
||||
show: line_show,
|
||||
fill: filled,
|
||||
lineWidth: lineWidth,
|
||||
steps: steps_chart
|
||||
},
|
||||
points: {
|
||||
show: points_show,
|
||||
radius: radius,
|
||||
fillColor: fill_points,
|
||||
fill: filled
|
||||
},
|
||||
legend: legend.index
|
||||
});
|
||||
if (color[index] !== null) {
|
||||
data_base.push({
|
||||
id: "serie_" + i,
|
||||
data: value.data,
|
||||
label: index,
|
||||
color: color[index]["color"],
|
||||
lines: {
|
||||
show: line_show,
|
||||
fill: filled,
|
||||
lineWidth: lineWidth,
|
||||
steps: steps_chart
|
||||
},
|
||||
points: {
|
||||
show: points_show,
|
||||
radius: radius,
|
||||
fillColor: fill_points,
|
||||
fill: filled
|
||||
},
|
||||
legend: legend.index
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
i++;
|
||||
|
|
Loading…
Reference in New Issue