When i select a point in the chart using
let activeElement:Array<any> = this.lineChart.getElementAtEvent(data);
i can get the values, after getting the values i use
el.scrollIntoView({behavior: "smooth", block: "center"});
to scroll to the row in the grid which i want to highlight.
Now i am trying to select or highlight a point on the line chart when i select the specific row.
How can i do that using javascript?