epezent / implot

Immediate Mode Plotting
MIT License
4.5k stars 495 forks source link

Show values of points in mouse position #526

Open slajerek opened 8 months ago

slajerek commented 8 months ago

I would like to show a value of point using formatter at mouse position, not current mouse position in the mouse position text.

I've seen SetupMouseText and ImPlotMouseTextFlags, but flags do not offer possibility to show value of point in data at mouse position, but only real Y mouse position. Please confirm if that is the case, eventually how to achieve that behavior. Thanks.