You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/11/15 10:01:14 UTC

[echarts-examples] branch gh-pages updated: Show correct label for waterfall bar chart

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

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 0ae39216 Show correct label for waterfall bar chart
     new b4fc1692 Merge pull request #60 from muoi/patch-1
0ae39216 is described below

commit 0ae39216a736849bc5c6af111f74f458d813014b
Author: muoi <me...@tuandinh.com>
AuthorDate: Tue Nov 15 08:24:18 2022 +0000

    Show correct label for waterfall bar chart
    
    Was incorrectly showing placeholder instead of expenses
---
 public/examples/ts/bar-waterfall2.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/examples/ts/bar-waterfall2.ts b/public/examples/ts/bar-waterfall2.ts
index a789814f..e2452f36 100644
--- a/public/examples/ts/bar-waterfall2.ts
+++ b/public/examples/ts/bar-waterfall2.ts
@@ -19,7 +19,7 @@ option = {
       if (params[1].value !== '-') {
         tar = params[1];
       } else {
-        tar = params[0];
+        tar = params[2];
       }
       return tar.name + '<br/>' + tar.seriesName + ' : ' + tar.value;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org