Hereβs your solution: Use the onPointClick event handler. This event directly provides the data of the clicked point, making it an ideal choice for implementing drill-down actions.
Apologies for the confusion earlier regarding the onPointClick event handler. I have found that using lineChart.series works perfectly. Below is a JavaScript query that I created
Would it be possible for you guys to open-source the built-in components? There's so many missing features in the revised Charts, I'd love to add some new features, but really don't want to start from zero.
Thanks for reaching out! Unfortunately, we don't have plans to open-source our built-in components I will be sure to pass along any specific feature requests though!
Some layout features that we haven't created natively can be implemented with the generic plotly json chart, but I haven't found a workaround for this particular request.
Totally get that the custom React component option is starting from 0 and may take extra work to maintain I'll be sure to follow up here if I have an update