nbonnotte opened a new issue #4267: Weekly time grain: ticks and markers not 
aligned
URL: https://github.com/apache/incubator-superset/issues/4267
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if any
   - [x] I have reproduced the issue with at least the latest released version 
of superset
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar
   
   ### Superset version
   
   0.22.1
   
   ### Expected results
   
   On a line chart or percent-change chart, with a PostgreSQL backend and a 
weekly time grain, I would expect the x-axis ticks to match the markers, which 
are set on Mondays 
   
   ### Actual results
   
   Markers are aligned on Mondays. Because that's what PostgreSQL sends, I 
guess, since `DATE_TRUNC` follows the ISO standard, and `DATE_TRUNC('week', 
'2018-01-23')` returns Monday 24.
   
   X-ticks are aligned on Sundays. This is wrong.
   
   ### Steps to reproduce
   
   Do a line chart with a weekly time grain on a PostgreSQL backend
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to