Memory leak warning is getting displayed while creating the chart many times

EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit. How can I fix this issue.

Can you share a reproducible example?