Skip to content

Rendering artifacts when panning an area chart #8699

@iddings

Description

@iddings

Expected Behavior

Area charts should render properly.

Current Behavior

If animations are disabled, and the zoom plugin is loaded, artifacts appear when panning out of the data range.

Initial Load:

Annotation 2021-03-22 180646

After Panning:

Annotation 2021-03-22 180649

Possible Solution

Not a solution, but I believe the issue to be in Chart.js, not the zoom plugin, as I've replicated the issue with my own custom zoom plugin.

Steps to Reproduce

Configure an area chart with a time x-axis (to allow panning past the range of data), and pan the data out of range.

https://jsfiddle.net/ke12g95r/5/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions