Skip to content

Cannot read property 'length' of undefined #3079

@brubbel

Description

@brubbel

Description:
Background updates using Plotly.redraw(), while zooming on a plot produce the following error:
Uncaught TypeError: Cannot read property 'length' of undefined

image

Test case
http://jsfiddle.net/gq9zrhd4/
The plot is updated every second, so start a box zoom and the errors appear.

(It is possible that this way of updating is not allowed, so is there a correct way to zoom into a (big) plot which is still loading in the background?)

Browser: Chrome Version 68.0.3440.106 (Official Build) (64-bit)

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