mistercrunch commented on a change in pull request #5928: added hack to make
time pivot chart working
URL:
https://github.com/apache/incubator-superset/pull/5928#discussion_r218850897
##########
File path: superset/viz.py
##########
@@ -1376,6 +1376,7 @@ def query_obj(self):
return d
def get_data(self, df):
+ self.form_data['metrics'] = [self.form_data.get('metric')]
Review comment:
Ok makes sense to me now, let's just change line 1399 from `
values=self.get_metric_label(fd.get('metric')))` to
values=self.get_metric_label([fd.get('metric')]))
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]