deviaji commented on issue #9518: Help needed - Days interval grouping in 
distributed bar chart
URL: 
https://github.com/apache/incubator-superset/issues/9518#issuecomment-613843204
 
 
   Thanks eugeniamz for the detailed reply and the effort you spent for this.
   
   I also did the same steps. I also used case when for finding out the 
interval buckets. Steps 2 and 3 are done in the view itself. The difference 
between my approach and yours, is in the interval bucket labels. You created 
the interval buckets like 1- <30 days, 2 - 30-60 days etc. I created like 0-30, 
31-60, 61-90, 91-120, 121-150, 151-180, 180+ . I think Superset is correctly 
ordering your labels since it starts with 1, 2 etc. In my case, it orders like 
0-30, 121-150, 151-180, 180+, 31-60, 61-180 . This is the issue. I need it like 
in the following order itself - 0-30, 31-60, 61-90, 91-120, 121-150, 151-180, 
180+ . I tried it by adding the prefix with the labels like 1 - 0-30, 2 - 31-60 
etc. Its working , but as per the client, label should not have the prefix 
numbers. Please give your suggestions.

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

Reply via email to