Click events on an image (interactive image with dashboard)

I’m currently working on a streamlit project where I want to show an image then a dashboard (the image contains many rectagular areas). I want to get the mouse click of the user, if the click is inside a specific area of the image then the dashboard data will change accordnigly.

I tried to get the mouseclick with javascript but it fails.
Please do you have any suggestions.

Thank you

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.