Good Day,
I put the chart object inside an array
chartArr = [chart1, chart2]
fnction updateChart(graphId) {
chartArr.forEach((d) => {
if(d.id === graphId) {
d.render()
}
})
}
When I call the function of the first chart it does update the first chart correctly. but when I call the function of the second chart, it somehow copies the data on the first chart and it will look exactly alike.