From b20e3e4dde404d165c2167a7dcf7d79baf1347f2 Mon Sep 17 00:00:00 2001 From: ph Date: Thu, 18 Jun 2020 18:51:49 +0800 Subject: [PATCH] fix issue that step trace line chart can not show max value --- mindinsight/ui/src/views/train-manage/step-trace.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/mindinsight/ui/src/views/train-manage/step-trace.vue b/mindinsight/ui/src/views/train-manage/step-trace.vue index 62407d4..7869d32 100644 --- a/mindinsight/ui/src/views/train-manage/step-trace.vue +++ b/mindinsight/ui/src/views/train-manage/step-trace.vue @@ -272,6 +272,7 @@ export default { type: 'category', data: this.steps.map((val, index) => index + 1), name: 'step', + max: this.steps.length, }, yAxis: { type: 'value', -- GitLab