Skip to content

Commit

Permalink
improve not rich tooltip (#7345)
Browse files Browse the repository at this point in the history
  • Loading branch information
datability-io authored and betodealmeida committed Apr 22, 2019
1 parent 7192d36 commit 8fd7d4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion superset/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,9 @@ def get_data(self, df):
comparison_type = fd.get('comparison_type') or 'values'
df = self.process_data(df)
if comparison_type == 'values':
chart_data = self.to_series(df)
# Filter out series with all NaN
chart_data = self.to_series(df.dropna(axis=1, how='all'))

for i, (label, df2) in enumerate(self._extra_chart_data):
chart_data.extend(
self.to_series(
Expand Down

0 comments on commit 8fd7d4b

Please sign in to comment.