Skip to content

Waterfalls handling date axes weirdly #3785

@nicolaskruchten

Description

@nicolaskruchten

This figure looks weird: connectors aren't rendering in the right place?

image

{
  "data": [
    {
      "type": "waterfall",
      "mode": "markers",
      "decreasing": {
        "line": {
          "color": "#7f7f7f"
        }
      },
      "increasing": {
        "line": {
          "color": "#17becf"
        }
      },
      "x": [
        "2010-01-01",
        "2010-07-01",
        "2011-01-01",
        "2011-07-01",
        "2012-01-01",
        "2012-06-01"
      ],
      "xsrc": "dates",
      "y": [
        2,
        1,
        3,
        5,
        4,
        6
      ],
      "ysrc": "jagged ints"
    }
  ],
  "layout": {
    "xaxis": {
      "range": [
        "1998-06-24 10:40",
        "2228-12-06 13:20"
      ],
      "autorange": true
    },
    "yaxis": {
      "range": [
        -0.5,
        5.5
      ],
      "autorange": true
    },
    "autosize": true
  },
  "frames": []
}

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions