You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/02 01:09:47 UTC

[GitHub] [superset] zhaoyongjie commented on pull request #19475: fix(chart & quarter): make to set quarter as [2, 5, 8, 11]

zhaoyongjie commented on pull request #19475:
URL: https://github.com/apache/superset/pull/19475#issuecomment-1086445973


   @prosdev0107, the **grain** means how granularity is aggregated by the query.  For instance, we have a dataset that contains everyday data for a year. You will get an aggregated dataset after it applies **grain**.
   
   If you want to change aggregated **grain**, you should change the grain function in the backend instead of alignment data in the frontend.
   
   ### aggregated by day
   <img width="1182" alt="image" src="https://user-images.githubusercontent.com/2016594/161358152-26aa0af3-358b-4280-931a-1a2bca3fe2e7.png">
   
   ### aggregated by quarter
   <img width="1417" alt="image" src="https://user-images.githubusercontent.com/2016594/161357537-bb4ecc78-6c54-4f50-87c0-2798871ec8c2.png">
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org