Closed
Description
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