mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
improve not rich tooltip (#7345)
This commit is contained in:
parent
7192d36513
commit
8fd7d4b670
@ -1230,7 +1230,9 @@ class NVD3TimeSeriesViz(NVD3Viz):
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user