mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
When `Chart.register()` was called twice in a row, the list of plugin descriptors on the chart instance would be cleared. The next chart update would then restart all of the plugins, not knowing that they were already started. In the case of the Legend and Title, this causes two boxes to appear in the layout system thus drawing twice.