uPlot icon indicating copy to clipboard operation
uPlot copied to clipboard

Legend for scatter plot with mode 2

Open picodemark opened this issue 2 years ago • 0 comments

Hey @leeoniya,

amazing and very performant library! :)

I am currently struggling with the live legend updating of the scatter plot with mode 2. I have checked all the demos and issue threads but could not find the missing piece of information.

Basically, I would like to have the legend of the scatter plot to show the values of the hovered series like it is done in the bubble plot. The legend should not be vertically but horizontally aligned like in the scatter plot. My scatter plot is based on the scatter plot from the same resource: https://leeoniya.github.io/uPlot/demos/scatter.html

The legend should look like the second plot in this demo: https://leeoniya.github.io/uPlot/demos/nearest-non-null.html

I appreciate every help from you. Thanks in advance!

picodemark avatar Apr 08 '23 22:04 picodemark