How to handle canvas elements in ui automation ? Any insights how to approach the automation for charts.js implementation

How to fetch data from charts or click on somewhere on charts and fetch the specific data on charts from canvas elements ? Any input or reference examples for chart.js implementation applications

Some sample code or working links to follow would be helpful