|
@@ -652,7 +652,7 @@ export const chartSetMixin = {
|
|
: `${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
: `${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
nameEn:item.EdbNameEn?`${item.EdbNameEn}${dynamic_tag_en}`:`${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
nameEn:item.EdbNameEn?`${item.EdbNameEn}${dynamic_tag_en}`:`${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
color: item.ChartColor,
|
|
color: item.ChartColor,
|
|
- lineWidth: Number(item.ChartWidth),
|
|
|
|
|
|
+ lineWidth: Number(item.ChartWidth)||(chartTheme&&chartTheme.lineOptions.lineWidth),
|
|
...predict_params
|
|
...predict_params
|
|
};
|
|
};
|
|
item.DataList = item.DataList || [];
|
|
item.DataList = item.DataList || [];
|
|
@@ -828,7 +828,7 @@ export const chartSetMixin = {
|
|
: `${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
: `${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
nameEn:item.EdbNameEn?`${item.EdbNameEn}${dynamic_tag_en}`:`${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
nameEn:item.EdbNameEn?`${item.EdbNameEn}${dynamic_tag_en}`:`${item.EdbAliasName||item.EdbName}${dynamic_tag}`,
|
|
color: item.ChartColor,
|
|
color: item.ChartColor,
|
|
- lineWidth: Number(item.ChartWidth),
|
|
|
|
|
|
+ lineWidth: Number(item.ChartWidth)||(chartTheme&&chartTheme.lineOptions.lineWidth),
|
|
fillColor: (this.chartInfo.ChartType === 3 || (this.chartInfo.ChartType === 6 && item.ChartStyle === 'areaspline')) ? item.ChartColor : undefined,
|
|
fillColor: (this.chartInfo.ChartType === 3 || (this.chartInfo.ChartType === 6 && item.ChartStyle === 'areaspline')) ? item.ChartColor : undefined,
|
|
borderWidth: 1,
|
|
borderWidth: 1,
|
|
borderColor: item.ChartColor,
|
|
borderColor: item.ChartColor,
|