mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
[bubble-chart] Fixing issue w/ metric names (#5237)
This commit is contained in:
@@ -947,9 +947,9 @@ class BubbleViz(NVD3Viz):
|
||||
return d
|
||||
|
||||
def get_data(self, df):
|
||||
df['x'] = df[[self.x_metric]]
|
||||
df['y'] = df[[self.y_metric]]
|
||||
df['size'] = df[[self.z_metric]]
|
||||
df['x'] = df[[utils.get_metric_name(self.x_metric)]]
|
||||
df['y'] = df[[utils.get_metric_name(self.y_metric)]]
|
||||
df['size'] = df[[utils.get_metric_name(self.z_metric)]]
|
||||
df['shape'] = 'circle'
|
||||
df['group'] = df[[self.series]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user