I have plotted a canvas chart from a csv file.
Now I would like to fetch the data (x and y values) and print the values in a label when I hover on .
I initially tried to pass the data from the API objet named ‘datapoints’ but the printed value of it was ‘[object Object]’
I know that there is already a label which does that,(which presents a value when we hover on it) but I want to present that data in a custom label.
Is it possible ? If yes, please guide me in how to proceed.