Closed pvictor closed 6 months ago
Hello,
Is it possible to only show legend for X value and the focused serie ? Something similar to this https://leeoniya.github.io/uPlot/demos/focus-cursor.html but instead of modifying opacity hide the entry in legend.
thanks !
should be possible by using the setSeries hook and using the callback to update the legend items' DOM with display: none.
setSeries
display: none
Hello,
Is it possible to only show legend for X value and the focused serie ? Something similar to this https://leeoniya.github.io/uPlot/demos/focus-cursor.html but instead of modifying opacity hide the entry in legend.
thanks !