|
@@ -912,7 +912,9 @@ const setStackOrCombinChart = () => {
|
|
|
borderColor: item.ChartColor,
|
|
|
...predict_params,
|
|
|
stacking,
|
|
|
- threshold: chartInfo.ChartType==3?item.ChartScale?Number(item.ChartScale):0:null
|
|
|
+ threshold: (chartInfo.ChartType==3&&item.ChartScale)
|
|
|
+ ? Number(item.ChartScale)
|
|
|
+ : 0
|
|
|
};
|
|
|
|
|
|
item.DataList = item.DataList || []
|