功率曲线

This commit is contained in:
geting 2024-12-09 09:41:20 +08:00
parent e95e974547
commit db87de1f58
3 changed files with 6 additions and 5 deletions

View File

@ -339,7 +339,8 @@ const statAnalysisOperate = () => {
data: seriesData, data: seriesData,
name: '实际值', name: '实际值',
smooth: true, smooth: true,
animation: false, symbolSize: 5,
symbol: 'circle',
} }
option.series.push(series) option.series.push(series)
option.legend.data.push('实际值') option.legend.data.push('实际值')
@ -354,7 +355,6 @@ const statAnalysisOperate = () => {
data: seriesData, data: seriesData,
name: '理论值', name: '理论值',
smooth: true, smooth: true,
animation: false,
symbolSize: 0.1, symbolSize: 0.1,
symbol: 'circle', symbol: 'circle',
} }

View File

@ -512,8 +512,8 @@ const historyDataReq = (promises: any) => {
data: yData.map((value: any) => ({ data: yData.map((value: any) => ({
value: getCutDecimalsValue(value, 2), value: getCutDecimalsValue(value, 2),
})), })),
showSymbol: true, symbolSize: 5,
animation: false, symbol: 'circle',
} }
option.legend.data.push(customName[index]) option.legend.data.push(customName[index])
option.series.push(seriesData) option.series.push(seriesData)

View File

@ -459,7 +459,8 @@ const historyDataReq = (data: any) => {
value: getCutDecimalsValue(value, 2), value: getCutDecimalsValue(value, 2),
unit: unit, // unit: unit, //
})), })),
animation: false, symbolSize: 5,
symbol: 'circle',
} }
option.tooltip = { option.tooltip = {
show: true, show: true,