Skip to content

Adding and removing data in 2.0 #1609

@nearwood

Description

@nearwood

The docs in the 2.0.0-beta and 2.0.0-dev branches say that adding and removing data can be done with addData and removeData methods. I do not see these in the Chart.js code though. Mentioned in another issue is the possiblity for a removeAllData method. But in another, a mention of adding data is by way of using the internal datasets.

Are the docs just out of date? And what's the proper way to add and remove data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions