michael-s-molina commented on code in PR #24703:
URL: https://github.com/apache/superset/pull/24703#discussion_r1265222611


##########
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:
   @betodealmeida The Area chart migration is incomplete and the ECharts 
version contains many bugs related to the Advanced Analytics section. That's 
why we skipped Area and Line migrations in 3.0. If you check 
[this](https://github.com/apache/superset/pull/23870) and 
[this](https://github.com/apache/superset/pull/23973) you'll see that the 
migration on master is missing many fields. I suggest skipping the migration of 
Area charts when importing.



-- 
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