SpectrumPlot2
fork it on Github
Calling
.enableMarkers()
shows a vertical bars on hovering and a more persistant one on clicking
By defining the
hover
and
click
callbacks with the method
.on()
we can get the hovered or clicked values.
--- hover the plot ---
--- click on the plot ---