uPlot icon indicating copy to clipboard operation
uPlot copied to clipboard

Scatter plot with line

Open gerhat opened this issue 3 years ago • 3 comments

I am trying to implement the following chart. Is it possible with uPlot?

Thank you

scatter_example

gerhat avatar Mar 22 '22 10:03 gerhat

with a bit of work, yes. you have to use mode: 2 and implement your own simple renderer.

the scatter demo [1] is more complex than you need for the above case, but shows the overall structure/setup. i'm quite busy currently, but will try to find some time to put together a more simple demo like above.

[1] https://leeoniya.github.io/uPlot/demos/scatter.html

leeoniya avatar Mar 22 '22 15:03 leeoniya

can you give a demo of scatter line like above? Thank you very much~

haibins avatar Jan 16 '24 09:01 haibins

with a bit of work, yes. you have to use mode: 2 and implement your own simple renderer.

the scatter demo [1] is more complex than you need for the above case, but shows the overall structure/setup. i'm quite busy currently, but will try to find some time to put together a more simple demo like above.

[1] https://leeoniya.github.io/uPlot/demos/scatter.html

I am trying to implement the above case with uPlot , Is it possible with uPlot? Thank you

haibins avatar Jan 17 '24 02:01 haibins