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

Another interaction example in Makie? #282

Open
sairus7 opened this issue Feb 4, 2019 · 4 comments
Open

Another interaction example in Makie? #282

sairus7 opened this issue Feb 4, 2019 · 4 comments

Comments

@sairus7
Copy link

sairus7 commented Feb 4, 2019

I've found it pretty easy to plot some interactive examples in VegaLite:
https://discourse.julialang.org/t/interactive-plot-acting-as-a-range-slider-tool-for-another-plot/20392/6?u=sairus7
But it seems that it has limited functionality and performance.
Can you give me some hints about how to make similar interaction example in Makie (and maybe add it to interaction gallery)?

@SimonDanisch
Copy link
Member

Good point!
Would you want only x slices, or a whole rectangle to select a sub area?

@sairus7
Copy link
Author

sairus7 commented Feb 5, 2019

Rectangle here is actually a scrollbar, with another plot in background. User can drag it and change scale (rectangle width). In this example rectangle height cannot be changed.
In original Bokeh implementation it is possible to change rectangle width by dragging its edges. In VegaLite it is possible only to select a new rectangle area.

@SimonDanisch
Copy link
Member

Yeah, so the question was, which one would you prefer?

@sairus7
Copy link
Author

sairus7 commented Feb 5, 2019

I think it is more convenient to change rectangle width by dragging its edges.

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

No branches or pull requests

2 participants