fix(性能测试): 修复报告对比时显示多余的y轴的问题

--bug=1015645 --user=刘瑞斌 [性能测试]github#16582性能测试报告对比的response图里面 响应时间和用户数坐标数据搞反了 https://www.tapd.cn/55049933/s/1218279

Closes #16582
This commit is contained in:
CaptainB 2022-08-03 13:48:03 +08:00 committed by 刘瑞斌
parent b2c006c383
commit 27fbe1432e
1 changed files with 3 additions and 10 deletions

View File

@ -77,18 +77,11 @@ export default {
legend: {}, legend: {},
xAxis: {}, xAxis: {},
yAxis: [{ yAxis: [{
name: 'User', name: 'Response Time',
type: 'value', type: 'value',
min: 0, min: 0,
max: yAxisListMax, max: yAxisListMax,
interval: yAxisListMax / 5 interval: yAxisListMax / 5
},
{
name: 'Response Time',
type: 'value',
min: 0,
max: yAxis2ListMax,
interval: yAxis2ListMax / 5
} }
], ],
series: [] series: []
@ -96,7 +89,7 @@ export default {
let setting = { let setting = {
series: [ series: [
{ {
name: 'users', name: 'Response Time',
color: '#0CA74A', color: '#0CA74A',
} }
] ]