superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: Fix the horizon title only show the first key (#5998)
Date Thu, 11 Oct 2018 20:08:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new c0f685b  Fix the horizon title only show the first key (#5998)
c0f685b is described below

commit c0f685b640932bb051188e38654d1e15452b7e37
Author: Narcissus7 <18813104077@163.com>
AuthorDate: Fri Oct 12 04:08:26 2018 +0800

    Fix the horizon title only show the first key (#5998)
---
 superset/assets/src/visualizations/Horizon/HorizonChart.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/Horizon/HorizonChart.jsx b/superset/assets/src/visualizations/Horizon/HorizonChart.jsx
index 1bc1e05..f9bb05a 100644
--- a/superset/assets/src/visualizations/Horizon/HorizonChart.jsx
+++ b/superset/assets/src/visualizations/Horizon/HorizonChart.jsx
@@ -62,7 +62,7 @@ class HorizonChart extends React.PureComponent {
             key={row.key}
             width={width}
             height={seriesHeight}
-            title={row.key[0]}
+            title={row.key.join(', ')}
             data={row.values}
             bands={bands}
             colors={colors}


Mime
View raw message