michellethomas opened a new issue #17226:
URL: https://github.com/apache/superset/issues/17226


   I'm not sure if this is a bug or if this is as desired but I wanted to 
discuss. In the new `Time-series bar chart V2` the ticks on the x-axis don't 
always match up with the date for the bars if you use the weekly time grain. 
The tick may show a different date from the tooltip. This can be confusing when 
looking at a chart because sometimes it is not clear that the date shown on the 
axis is different from the date in the tooltip/plot. It can be particularly 
confusing when there is missing data.
   
   The old `Time-series bar chart` shows the ticks matching the time data in 
the plot. 
   
   One solution could be to have options for how the ticks are displayed on the 
chart.
   
   #### How to reproduce the bug
   
   1. Go to Time-series bar chart V2
   2. Select a weekly time grain
   3. Plot data and see the x-axis ticks don't match up with the data
   
   ### Expected results
   
   X-axis ticks show different dates from the dates for the bar 
   
   ### Actual results
   
   X-axis ticks show the dates that match with the dates for the bar 
   
   #### Screenshots
   
   Weekly totals from the birth names datasource, the tooltip shows data for 
12/29/91 and the ticks shows 1/1/92
   
![image](https://user-images.githubusercontent.com/817955/138789324-21e4ede8-6109-449c-8da9-99a84c8c33be.png)
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are 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.
   


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