Registers a chart plugin under its id and returns that id.
Registering an id that already exists replaces the earlier plugin. Outside
production a console.warn is emitted (the replacement is expected under
hot reload); in production, and wherever process is undefined, it is silent.
Registers a chart plugin under its
idand returns that id.Registering an id that already exists replaces the earlier plugin. Outside production a
console.warnis emitted (the replacement is expected under hot reload); in production, and whereverprocessis undefined, it is silent.