egui icon indicating copy to clipboard operation
egui copied to clipboard

Allow cursors to be linked for plots

Open Zoxc opened this issue 3 years ago • 4 comments

This adds set_link_cursor to LinkedAxisGroup which allow the cursor to show up in linked plots.

This only handles the default PlotItem case. I think changing PlotItem::on_hover to produce a list of cursors would make sense.

The PartialEq implementation for LinkedAxisGroup also seems a bit questionable given it carries identity.

Zoxc avatar Jun 07 '22 20:06 Zoxc

That would be a nice contribution. Waiting for the feature! Thanks in advance ;)

blitzarx1 avatar Jun 22 '22 13:06 blitzarx1

It would be nice of an example of this so we can test it!

emilk avatar Jul 03 '22 12:07 emilk

Wanted this feature

enomado avatar Jul 27 '22 13:07 enomado

I did some refactoring and added the ability to link cursors to the linked axis demo.

Zoxc avatar Jul 29 '22 17:07 Zoxc