score:1

Accepted answer

id's in web design should be unique. at the moment each time you create a new boxplotchart component it adds a canvas with id 'mychart' to the dom.

you either have to generate a random id within your boxplotchart chart component or pass along an id in the props which you give to the canvas


Related Query

More Query from same tag