Identify clicked data point in Chart onClick events #237
-
Using the latest v3 beta and testing and a review of all examples I could find, and searching this repo for Having explored the We plan to use these references to render a view that "drills down" into the selected data point. Is there something I am missing on this event, or do we need to calculate the data point based on the size of the view and the (x, y) coordinates of the event? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Where are you passing your |
Beta Was this translation helpful? Give feedback.
Where are you passing your
onClick
handler? I believe this is whatonClickDatum: (datum, event) => void
inChart
options is for. See the Line chart in this forked example.