Skip to content

Commit

Permalink
M 表图例
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlmls committed Jan 8, 2019
1 parent c56af94 commit d3334f2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ app.controller('MetricCtl', ['$scope', '$stateParams', 'MetricService', '$interv
min: 0,
max: maxQps,
fine: true,
alias: 'p_qps(通过 QPS)'
alias: 'p_qps'
// max: 10
});
chart.scale('blockQps', {
min: 0,
max: maxQps,
fine: true,
alias: 'b_qps(拒绝 QPS)',
alias: 'b_qps',
});
chart.scale('rt', {
min: 0,
Expand Down Expand Up @@ -131,10 +131,10 @@ app.controller('MetricCtl', ['$scope', '$stateParams', 'MetricService', '$interv
allowAllCanceled: true,
itemFormatter: function (val) {
if ('passQps' === val) {
return 'p_qps';
return 'p_qps(通过 QPS)';
}
if ('blockQps' === val) {
return 'b_qps';
return 'b_qps(拒绝 QPS)';
}
return val;
},
Expand Down

0 comments on commit d3334f2

Please sign in to comment.