|
@@ -328,7 +328,6 @@ const setSplineOpt=(data)=>{
|
|
|
dataGrouping:{
|
|
|
enabled:false
|
|
|
},
|
|
|
- // type:item.ChartStyle,
|
|
|
type: resData.value.ChartInfo.ChartType ===6 ? item.ChartStyle : chartStyle,
|
|
|
yAxis:index,
|
|
|
// name:dynamic_arr.length > 1
|
|
@@ -338,6 +337,7 @@ const setSplineOpt=(data)=>{
|
|
|
color: item.ChartColor,
|
|
|
// lineWidth: Number(item.ChartWidth),
|
|
|
lineWidth: (resData.value.ChartInfo.ChartType === 1 || (resData.value.ChartInfo.ChartType === 6 && item.ChartStyle === 'spline')) ? Number(item.ChartWidth) : 0,
|
|
|
+ fillColor: (resData.value.ChartInfo.ChartType === 3 || (resData.value.ChartInfo.ChartType === 6 && item.ChartStyle === 'areaspline')) ? item.ChartColor : undefined,
|
|
|
visible:true,
|
|
|
LatestDate:item.LatestDate,
|
|
|
LatestValue:item.LatestValue
|