yc0123450 opened a new issue, #21254:
URL: https://github.com/apache/echarts/issues/21254

   ### Version
   
   6.0
   
   ### Link to Minimal Reproduction
   
   
https://github.com/apache/echarts-custom-series/tree/main/custom-series/stage/examples
   
   ### Steps to Reproduce
   
   Download the example repository code, Modify the "data" in the configuration.
   If there are time spans across days in the data, the x-axis time display 
will be incorrect.
   
   const data = [
           [new Date('2024-09-07 06:12'), new Date('2024-09-07 06:12'), '清醒'],
           [new Date('2024-09-07 06:15'), new Date('2024-09-07 06:18'), '清醒'],
           [new Date('2024-09-07 08:59'), new Date('2024-09-07 09:00'), '清醒'],
           [new Date('2024-09-07 05:45'), new Date('2024-09-07 06:12'), '快速动眼'],
           [new Date('2024-09-07 07:37'), new Date('2024-09-07 07:56'), '快速动眼'],
           [new Date('2024-09-07 08:56'), new Date('2024-09-07 08:59'), '快速动眼'],
           [new Date('2024-09-07 09:08'), new Date('2024-09-07 09:29'), '快速动眼'],
           [new Date('2024-09-07 05:45'), new Date('2024-09-07 06:12'), '快速动眼'],
           [new Date('2024-09-07 03:12'), new Date('2024-09-07 03:27'), '浅睡'],
           [new Date('2024-09-07 04:02'), new Date('2024-09-07 04:36'), '浅睡'],
           [new Date('2024-09-07 04:40'), new Date('2024-09-07 04:48'), '浅睡'],
           [new Date('2024-09-07 04:57'), new Date('2024-09-07 05:45'), '浅睡'],
           [new Date('2024-09-07 06:12'), new Date('2024-09-07 06:15'), '浅睡'],
           [new Date('2024-09-07 06:18'), new Date('2024-09-07 07:37'), '浅睡'],
           [new Date('2024-09-07 07:56'), new Date('2024-09-07 08:56'), '浅睡'],
           [new Date('2024-09-07 09:00'), new Date('2024-09-07 09:08'), '浅睡'],
           [new Date('2024-09-07 09:29'), new Date('2024-09-07 10:41'), '浅睡'],
           [new Date('2024-09-07 12:36'), new Date('2024-09-07 12:50'), '浅睡'],
           [new Date('2024-09-07 12:50'), new Date('2024-09-07 13:10'), '深睡'],
           [new Date('2024-09-06 23:37'), new Date('2024-09-07 04:02'), '深睡'],
           [new Date('2024-09-07 04:36'), new Date('2024-09-07 04:40'), '深睡'],
           [new Date('2024-09-07 04:48'), new Date('2024-09-07 04:57'), '深睡'],
         ];
   
   ### Current Behavior
   
   <img width="1669" height="661" alt="Image" 
src="https://github.com/user-attachments/assets/fe5b2732-a53c-4df5-93ed-6781605a8128";
 />
   
   <img width="1263" height="1091" alt="Image" 
src="https://github.com/user-attachments/assets/fb59b67b-8b13-4842-8f79-ee09b523709e";
 />
   
   ### Expected Behavior
   
   I hope the time display across days can be handled correctly
   
   
   ### Environment
   
   ```markdown
   - OS: win11
   - Browser:Chrome 140.0.7339.80
   - Framework: js
   ```
   
   ### Any additional comments?
   
   _No response_


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