Skip to content

bar chart animations can hang Chrome if too many elements #1244

@gordonwoodhull

Description

@gordonwoodhull

I put a workaround into this example to disable transitions if there are too many elements, but if you use the following arguments, it hangs Chrome (macOS) almost every time.

http://dc-js.github.io/dc.js/examples/switching-time-intervals.html?interval=Days&unsafe

Looks like the transition never ends and this pegs the processor. Chrome becomes unresponsive and must be killed. Firefox and Safari appear to be okay, if sluggish.

I guess it's not our bug but it's really bad. Maybe we could detect if too many elements are being transitioned? Sigh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions