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

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

commit bd9403e52a0ae87c929229509225910d6888690f
Author: sushuang <sushuang0...@gmail.com>
AuthorDate: Mon Apr 23 04:39:27 2018 +0800

    tweak
---
 src/layout/barGrid.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/layout/barGrid.js b/src/layout/barGrid.js
index 2dab497..51eeff4 100644
--- a/src/layout/barGrid.js
+++ b/src/layout/barGrid.js
@@ -223,8 +223,9 @@ export function retrieveColumnLayout(barWidthAndOffset, 
axis, seriesModel) {
     if (barWidthAndOffset && axis) {
         var result = barWidthAndOffset[getAxisKey(axis)];
         if (result != null && seriesModel != null) {
-            return result[getSeriesStackId(seriesModel)];
+            result = result[getSeriesStackId(seriesModel)];
         }
+        return result;
     }
 }
 

-- 
To stop receiving notification emails like this one, please contact
sushu...@apache.org.

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

Reply via email to