Skip to content

Implement updateMode property #1024

Closed
Closed
@dangreen

Description

@dangreen

What problem are you trying to solve?

Chart.js' update() method can accept update mode as argument.

(method) Chart<TType, TData, TLabel>.update(mode?: "resize" | "reset" | "none" | "hide" | "show" | "normal" | "active" | undefined): void

Currently, react-chartjs-2 doesn't support passing update mode to Chart.js.

Describe the solution you'd like

Need to implement the updateMode property to pass it to every chartRef.current.update() call.

Source: #1006

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions