Skip to content

Timestamp / date axis breaks 3d surface plot #6178

Closed
@fdrcslv

Description

@fdrcslv

I'm trying to render a 3d surface plot with data.x as a vector of timestamps. I converted the timestamps to Date objects and set the calendar property to 'gregorian'.

The issue happens also when iI don't convert the timestamps and leave them as numbers.

here's a codepen with the issue. I've set up a chart with big timestamps and one with smaller ones. The distance between the timestamps is the same though. The small timestamps don't break the chart, and the dates are displayed correctly. The bigger timestamps don't work.

https://codepen.io/fdrcslv/pen/QWQjmOV?editors=0010

i'm working with react-plotly, but the issue happens regardless of using the react component, as you can see with the codepen provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions