|
@@ -1426,9 +1426,9 @@ function setStackOrCombinChart(e){
|
|
|
LatestValue:item.LatestValue,
|
|
|
...predict_params,
|
|
|
stacking,
|
|
|
- threshold: e.ChartInfo.ChartType==3
|
|
|
- ?(item.ChartScale?Number(item.ChartScale):0)
|
|
|
- :null
|
|
|
+ threshold: (e.ChartInfo.ChartType===3&&item.ChartScale)
|
|
|
+ ? Number(item.ChartScale)
|
|
|
+ : 0
|
|
|
}
|
|
|
item.DataList = item.DataList || [];
|
|
|
for (let i of item.DataList) {
|