You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by kd...@apache.org on 2019/11/10 16:56:33 UTC

[skywalking-rocketbot-ui] branch fix-dashboard-top-throughput-copy created (now a2a0dbf)

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

kdump pushed a change to branch fix-dashboard-top-throughput-copy
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git.


      at a2a0dbf  fix-dashboard-top-throughput-copy

This branch includes the following new commits:

     new a2a0dbf  fix-dashboard-top-throughput-copy

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-rocketbot-ui] 01/01: fix-dashboard-top-throughput-copy

Posted by kd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kdump pushed a commit to branch fix-dashboard-top-throughput-copy
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git

commit a2a0dbf8883f6bbfc1cf030300a8e0882dd82d2b
Author: x22x22 <ro...@gmail.com>
AuthorDate: Mon Nov 11 00:55:53 2019 +0800

    fix-dashboard-top-throughput-copy
---
 src/views/components/dashboard/charts/chart-trace.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/views/components/dashboard/charts/chart-trace.vue b/src/views/components/dashboard/charts/chart-trace.vue
index ba93ff1..f5cd6bd 100644
--- a/src/views/components/dashboard/charts/chart-trace.vue
+++ b/src/views/components/dashboard/charts/chart-trace.vue
@@ -19,7 +19,7 @@
   <div style="overflow: auto;height: 100%;" class="scroll_hide">
   <div class="rk-chart-slow clear">
     <div class="rk-chart-slow-i" v-for="(i, index) in data" :key="index">
-      <svg class="icon vm r grey link-hover cp" @click="handleClick(i.traceIds)">
+      <svg class="icon vm r grey link-hover cp" @click="handleClick(i.traceIds || i.label)">
         <use xlink:href="#review-list"></use>
       </svg>
       <div class="mb-5 ell" v-tooltip:top.ellipsis="i.label || ''">
@@ -45,6 +45,8 @@ export default class ChartTrace extends Vue {
     const temp = { key: `${i.key}`, label: i.label };
   }
   get maxValue() {
+    console.log('data: ', this.data);
+
     const temp: number[] = this.data.map((i: any) => i.value);
     return Math.max.apply(null, temp);
   }