apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.03k stars 1.28k forks source link

Unix Timestamp on zooming to milliseconds (timeline) #4467

Open QuentinBubu opened 1 month ago

QuentinBubu commented 1 month ago

Hi,

I opened this issue as a continuation of apexcharts/Blazor-ApexCharts#460

When zooming in to see the details, updating the X axis goes from minute to milliseconds, causing a display of timestamps. This happens when you want to scroll the graph with planning or zoom it with zoom selection.

Steps to Reproduce

  1. Have date with milliseconds
  2. Select zoom in selection
  3. Zoom on short time

Expected Behavior

Elements on timeline zoomed in

Actual Behavior

Elements disappear and Unix Timestamp is set to X label axis

Screenshots

https://github.com/apexcharts/Blazor-ApexCharts/assets/60854021/33747390-d53a-474e-9987-6e584a5e08e5

https://github.com/apexcharts/Blazor-ApexCharts/assets/60854021/b00d7051-bf7f-4877-849e-66181cb58013

Reproduction Link

https://codepen.io/quentinbubu/full/xxNGOLJ

Best regards

WB-FSE commented 1 month ago

Got the same issue, can I assist?

jasase commented 1 month ago

I also have the same issue.