betodealmeida commented on code in PR #24703:
URL: https://github.com/apache/superset/pull/24703#discussion_r1264233040


##########
superset/migrations/shared/migrate_viz/processors.py:
##########
@@ -51,6 +51,9 @@ def _pre_action(self) -> None:
             self.data["show_extra_controls"] = True
             self.data["stack"] = stacked_map.get(stacked)
 
+        if x_axis := self.data.get("granularity_sqla"):
+            self.data["x_axis"] = x_axis

Review Comment:
   I had to do this so that the chart would render after being imported.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to