CN-1350 fix: Network & App Performance>>Location页面切换为Client时,Throughput趋势图的颜色与右上角提示不一致
This commit is contained in:
@@ -178,8 +178,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.chartOption = npmLineChartOption
|
this.chartOption = npmLineChartOption
|
||||||
this.chartOption.color = this.chartData.params.color
|
this.chartOption.color = this.chartData.params.color
|
||||||
this.chartOption.color = this.chartOption.color.reverse()
|
// this.chartOption.color = this.chartOption.color.reverse()
|
||||||
data = data.reverse()
|
// data = data.reverse()
|
||||||
|
|
||||||
this.chartOption.series = data.map((t, i) => {
|
this.chartOption.series = data.map((t, i) => {
|
||||||
return {
|
return {
|
||||||
@@ -226,7 +226,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
return stackedLineTooltipFormatter(params)
|
return stackedLineTooltipFormatter(params.reverse())
|
||||||
}
|
}
|
||||||
|
|
||||||
this.myChartArray.push(this.myChart)
|
this.myChartArray.push(this.myChart)
|
||||||
|
|||||||
Reference in New Issue
Block a user