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