ngmgit opened a new issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322


   ### Version
   4.9.0
   
   ### Reproduction link
   
[https://codesandbox.io/s/gifted-bhaskara-eoesy?file=/src/transform.js](https://codesandbox.io/s/gifted-bhaskara-eoesy?file=/src/transform.js)
   
   ### Steps to reproduce
   * setup a time series bar chart
   * Set maxInterval to 1 hr bucket i.e 60 * 60 * 1000
   * Set min and max values to the end and start of the day for the given 
bucket.
   
   Even though this looks like what should be done to get a graph for a day 
divided into hour buckets and set the values to fill up the graph. Note that 
its not necessary that all the values for the series are set.
   
   ### What is expected?
   To show the bar with width taking up only the maxInterval and the graph 
x-axis should start with 00 value and end with 00 values with 1 hr buckets. 
   
   This should also work even when the entries are not adjacent.
   
   ### What is actually happening?
   Shows the buckets starting and ending wrong and the zoom in always becomes 
glitchy. The entries are taking up 2 hr interval width. This happens when the 
values are not adjacent.
   
   ---
   As per the attached minimal reproduction link. The values in the MOCK_DATA 
has value which doenst have any adjacent value while the one in 
ADJANCE_BUCKET_MOCK_DATA has entries for 15:00 and 16:00 which are adjacent.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to