Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dumbbell chart] Not working properly when xaxis is of type datetime #4348

Closed
Labels
bug Something isn't working verified

Comments

@bcldvd
Copy link

bcldvd commented Mar 22, 2024

Description

Steps to Reproduce

  1. Take the basic dumbbell chart demo : https://apexcharts.com/javascript-chart-demos/column-charts/dumbbell-chart/
  2. Change the dates to be a timestamp instead of a string
  3. Change the xaxis to be of type datetime

Expected Behavior

I would expect the chart to display exactly as the demo, but the spacing between the dates to be relative to the range between the dates themselves :

image

Actual Behavior

However what happens is that the display is completely off for some values...

image

Screenshots

image

Reproduction Link

https://codepen.io/bcldvd/pen/vYMmLew

@bcldvd bcldvd added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment