Skip to content

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

@bcldvd

Description

@bcldvd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions