Closed jduncanRadBlue closed 3 months ago
sorry, i have no experience with Vue.
your data comes from outside of uPlot, so it should be accessible outside of uPlot.
you may want to ask on StackOverflow or Reddit
Ok, thanks. The function to get the data from the right click I would think would be javascript and not specific to vue. That is just the framework I am using. Has anyone ever needed to right click on the graph and extract element data that you know of?
@jduncanRadBlue take a look at:
https://github.com/leeoniya/uPlot/issues/239#issuecomment-2299294298
https://leeoniya.github.io/uPlot/demos/tooltips-closest.html
I'm creating a context menu (right click on an element/line on the graph) I am having a hard time figuring out how to access the data. I would like to show something in a dialog that users can use to 'see more' data about a certain feature.
Anything you can offer on how to access the elements would be greatly appreciated!