CN-1185: 趋势图展示的数据与悬浮框中的数据不符
This commit is contained in:
@@ -178,6 +178,8 @@ export default {
|
||||
}
|
||||
this.chartOption = npmLineChartOption
|
||||
this.chartOption.color = this.chartData.params.color
|
||||
this.chartOption.color = this.chartOption.color.reverse()
|
||||
data = data.reverse()
|
||||
|
||||
this.chartOption.series = data.map((t, i) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user