-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Research on improving numeric range input using plotly #233
Comments
donyunardi
changed the title
Research on improved numeric range input
Research on improved numeric range input using plotly
Mar 20, 2023
14 tasks
donyunardi
changed the title
Research on improved numeric range input using plotly
Research on improving numeric range input using plotly
Mar 20, 2023
This was referenced May 23, 2023
chlebowa
added a commit
that referenced
this issue
Jun 14, 2023
Closes #234 Closes #233 Replaces the range slider in `RangeFilterState` with an interactive `plotly` graph. Two shapes (lines) are drawn on the plot that can be dragged and their position is tracked. An observer listens to events emitted by the plot when shapes are altered (this event is called a "plotly_relayout") and updates selection. Another observer listens to the manual input and updates selection. Finally, a third observer listens to the selection and updates the manual input as well as the shapes on the plot. Since the graph is slower to render, a spinner is added to it to alleviate the negative effect on UX. Numeric (manual) input is now displayed simultaneously with the graphic input, not alternatively. Numeric input receives a debounce. --------- Signed-off-by: kartikeya kirar <[email protected]> Signed-off-by: Aleksander Chlebowski <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: kartikeya kirar <[email protected]> Co-authored-by: kartikeya <[email protected]>
closed by #289 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
continuation from #226
Summary:
User would like the ability to drag numeric ranges and manually enter the range input.
Plotly
Plotly is recommended as one of the solution.
Example from @nikolas-burkoff
Using plotly this is possible:
The black lines here are draggable (sadly they are draggable vertically as well but I would hope that could be configured?)
(code below)
Separately the example here (after "After @ firmo23's edit:") is really nice
Originally posted by @nikolas-burkoff in #226 (comment)
Example from @chlebowa
Definition of Done:
The text was updated successfully, but these errors were encountered: