Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plot::plot_hovered_indexes interaction (index, subindex) #2572

Closed
wants to merge 9 commits into from

Conversation

haricot
Copy link
Contributor

@haricot haricot commented Jan 10, 2023

describe : emilk/egui_plot#4
related : #1778
depends : #2558

Co-authored-by: Mingun <Alexander_Sergey@mail.ru>
@haricot
Copy link
Contributor Author

haricot commented Jan 17, 2023

I refactored to have the information of the hovered item such as is_in_radius, hovered indexes, item name.

@haricot
Copy link
Contributor Author

haricot commented Jan 17, 2023

Screenshot without hover point overlay support but with ability to block priority with allow_hover.

ex_plothovered_indexes

@haricot
Copy link
Contributor Author

haricot commented Jan 17, 2023

after commit 71f7964
Screenshot with hover point overlay support but not using FloatOrd.
ex_plothovered_indexes2

@haricot haricot changed the title Add Plot::plot_hovered_indexes interaction (index, subindex) [Draft] Add Plot::plot_hovered_indexes interaction (index, subindex) Jan 20, 2023
@haricot haricot changed the title [Draft] Add Plot::plot_hovered_indexes interaction (index, subindex) [draft] Add Plot::plot_hovered_indexes interaction (index, subindex) Jan 20, 2023
@haricot haricot changed the title [draft] Add Plot::plot_hovered_indexes interaction (index, subindex) Add Plot::plot_hovered_indexes interaction (index, subindex) Jan 20, 2023
@haricot
Copy link
Contributor Author

haricot commented Jan 23, 2023

I'm thinking of closing this PR in favor of a future pull request which integrates in Plot::Item a function src_index(plot_type: usize, src_index: usize ) which allows to use src_index() to return the type and a position in the origin of the data.

@haricot haricot marked this pull request as draft January 23, 2023 12:37
@haricot
Copy link
Contributor Author

haricot commented Jan 25, 2023

closed in favor #2628

@haricot haricot closed this Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants