zhaoyongjie commented on PR #20377:
URL: https://github.com/apache/superset/pull/20377#issuecomment-1156381287

   > @zhaoyongjie Tested again. It looks like Dimensions are not kept when I do 
`Open line chart -> switch to big number -> switch to bar chart`. However, it 
works correctly if I do `Open line chart -> switch to bar (dimensions are kept) 
-> switch to big number -> switch to bar (dimensions are still kept)`.
   > 
   > Another example of flow working as expected: `Open line chart -> switch to 
bar (dimensions are kept) -> switch to big number -> switch to bar (dimensions 
are still kept) -> switch to area chart (dimensions are still kept)`. Another 
example of flow NOT working as expected: `Open line chart -> switch to bar 
(dimensions are kept) -> switch to big number -> switch to area chart 
(dimensions are NOT kept)`
   > 
   > So it looks like dimensions are kept in target chart only if previous 
chart also had dimensions control.
   > Screen.Recording.2022-06-15.at.13.43.40.mov
   
   Yes, this is the current workflow. I explain it as follows: 
   
   1. line chart -> switch to big number (do **transform** from `line` to `big 
number`)
   2. big number -> switch to bar chart (do **transform** from `big number` to 
`bar chart`), the `big number` has not dimensions so the `bar chart` also has 
not dimensions.
   3. if you do not do any operation on the `big number`, from `big number` 
switch to the `line chart`, `standardized form data` will do **restore**, so 
the line chart form_data can be restored.
   ---------------
   - the *transform* means to transform from the previous chart(Whether you 
query the data or not.)
   - the *restore* means to restore to the original form_data.
   
   
   
   
   
   
   


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