-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
234 range selection with
plotly
(#289)
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]>
- Loading branch information
1 parent
64a1ea0
commit 4ec0499
Showing
13 changed files
with
370 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.