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/04 09:48:05 UTC

[GitHub] [superset] fikriabror opened a new issue, #19506: X-axis Weekly time grain not Match with the Marker

fikriabror opened a new issue, #19506:
URL: https://github.com/apache/superset/issues/19506

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Create a time series charts
   2. Click on Time columns is contain the date and time grain is weekly
   3. X-axis Weekly time grain not Match with the Marker
   
   ### Expected results
   
   The X-axis match with the marker which in this case start from Monday.
   
   ### Actual results
   
   The X-axis just appear on the random days.
   
   #### Screenshots
   
   <img width="1431" alt="Screen Shot 2022-04-04 at 16 37 50" src="https://user-images.githubusercontent.com/11493699/161518762-99c6d1c7-a768-41cd-9a55-6107e54a34a7.png">
   
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome
   - superset version: `1.0.0`
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [V] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [V] I have reproduced the issue with at least the latest released version of superset.
   - [V] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   


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


[GitHub] [superset] Deckel commented on issue #19506: X-axis Weekly time grain not Match with the Marker

Posted by GitBox <gi...@apache.org>.
Deckel commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-1289655354

   Do we know if this will be picked up at some point, easily one of the most visible bugs in any dashboard.


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


Re: [I] X-axis tick mark at first of the month is incorrectly injected into charts with weekly time grain [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-2043530594

   Closing this for a few reasons:
   1) It's gone stale - almost 5 months since the last comment
   2) The linked PR doesn't look like it'll be merging anytime soon
   3) The issue itself is reported on Superset 1.0, and we don't support releases that old (4.0 just came out!)
   4) That chart (and much of the UI) is on the path toward deprecation... I'm not sure this is happening in the latest echarts (at least I'm not able to figure out how to reproduce it).
   
   In short, I can't replicate this, on current Superset, and definitely not on the (now very old) 1.0 version. If it's still happening, I'd recommend opening a new issue with updated context and a reproducible example using example/generated 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: 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


[GitHub] [superset] EBunto commented on issue #19506: X-axis Weekly time grain not Match with the Marker

Posted by "EBunto (via GitHub)" <gi...@apache.org>.
EBunto commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-1520058528

   Has anyone found a workaround for this problem?
   Or maybe you found the cause of its occurrence? 
   
   I've noticed that ticks are not random) Ticks are generated according to first day of week in current month. So if you have x-axis from 01.01.2023 till 01.03.2023 you will get 
   01.01.2023, 08.01.2023 , 15.01.2023 ,22.01.2023, 30.01.2023 - means that in january week starts from sunday
   01.02.2023, 08.02.2023, 15.02.2023, 22.02.2023 - means that in february week starts frim wednesday
   
   In the same time markers will be generated according to result of function Trunc(date, 'WW') - in this case week will start in sunday in 2023. 


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


Re: [I] X-axis tick mark at first of the month is incorrectly injected into charts with weekly time grain [superset]

Posted by "Khrol (via GitHub)" <gi...@apache.org>.
Khrol commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-1816147944

   Looks like we need to use `alignWithLabel` property from here https://apache.github.io/echarts-handbook/en/concepts/axis/
   
   ```
         axisTick: {
           alignWithLabel: true
         },
   ```


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


[GitHub] [superset] chitxxx commented on issue #19506: X-axis Weekly time grain not Match with the Marker

Posted by "chitxxx (via GitHub)" <gi...@apache.org>.
chitxxx commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-1655980421

   Upvoting. Experiencing similar issues. 


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


[GitHub] [superset] a-bartoszek commented on issue #19506: X-axis tick mark at first of the month is incorrectly injected into charts with weekly time grain

Posted by "a-bartoszek (via GitHub)" <gi...@apache.org>.
a-bartoszek commented on issue #19506:
URL: https://github.com/apache/superset/issues/19506#issuecomment-1721637873

   I have this same issue in version 2.1.0.  Our "Time Column" field has weekbeginningdate (which are Mondays for us) for a period of a year, and it adds tick marks for the 1st of each month and then for every 7 days after that regardless of the values in our time dimention.  Interestingly, we noticed that this is happening on both the line chart and area chart, HOWEVER, if we pick the lagacy version of each of these charts then we at least get back to weekly tick marks but it uses Sunday dates for these.


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


Re: [I] X-axis tick mark at first of the month is incorrectly injected into charts with weekly time grain [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #19506: X-axis tick mark at first of the month is incorrectly injected into charts with weekly time grain
URL: https://github.com/apache/superset/issues/19506


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