mirror of https://github.com/apache/superset.git
fix adhoc metric bug in chord diagram (#9149)
This commit is contained in:
parent
f95a867742
commit
114642d78c
|
@ -1719,7 +1719,7 @@ class ChordViz(BaseViz):
|
|||
qry = super().query_obj()
|
||||
fd = self.form_data
|
||||
qry["groupby"] = [fd.get("groupby"), fd.get("columns")]
|
||||
qry["metrics"] = [utils.get_metric_name(fd.get("metric"))]
|
||||
qry["metrics"] = [fd.get("metric")]
|
||||
return qry
|
||||
|
||||
def get_data(self, df: pd.DataFrame) -> VizData:
|
||||
|
|
Loading…
Reference in New Issue