title: How to add click events to Canvas in JetPack Compose
body: <p>I used Canvas in Compose to define a line chart.
  <a href="https://i.stack.imgur.com/5W9I7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5W9I7.png" alt="enter image description here" /></a></p>
  <p>I want to provide click events for the points in the line chart, but I did not find relevant information to solve the problem.</p>
  <p>Please provide some interesting ideas or related information.</p>