You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2019/10/28 09:34:00 UTC

[incubator-shardingsphere-benchmark] branch master updated: refactor:X-axis start value modification

This is an automated email from the ASF dual-hosted git repository.

zhaoyanan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shardingsphere-benchmark.git


The following commit(s) were added to refs/heads/master by this push:
     new 9218cff  refactor:X-axis start value modification
     new 028a4e6  Merge pull request #18 from wqzwh/master
9218cff is described below

commit 9218cff7b144ebfc92c9836ffe8f202c0490f89e
Author: wqzwh <wa...@163.com>
AuthorDate: Mon Oct 28 17:29:49 2019 +0800

    refactor:X-axis start value modification
---
 shadingsphere-benchmark-ui/src/utils/mixin.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shadingsphere-benchmark-ui/src/utils/mixin.js b/shadingsphere-benchmark-ui/src/utils/mixin.js
index e9037b7..ec4a158 100644
--- a/shadingsphere-benchmark-ui/src/utils/mixin.js
+++ b/shadingsphere-benchmark-ui/src/utils/mixin.js
@@ -59,7 +59,7 @@ const mountedMixin = {
               //   moment(mm.data[mmm].Date).format('YYYY-MM-DD HH:mm:ss')
               // )
               if (xAxis[m].length <= mm.data.length && mmm >= xAxis[m].length) {
-                xAxis[m].push(mmm)
+                xAxis[m].push(Number(mmm) + 1)
               }
               // xAxis[m].sort((a, b) => {
               //   return moment(a) > moment(b) ? 1 : -1