AxSpan draggable not implemented
See original GitHub issueIt looks like PlottableAxSpan
has draggable api, but not implemented.
Additionaly it will be usefull to have OnChanged(double newValue)
events for both borders, which rises on end drag by user.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Matplotlib: Draggable is not working on multiple legends ...
I have two legends, as below, I find that I can't drag the first legend, what is the problem? how to deal with...
Read more >matplotlib.legend — Matplotlib 3.7.2 documentation
The legend handler map specifies how to create legend handles from artists (lines, patches, etc.) in the axes or figures. Default legend handlers...
Read more >matplotlib.axes.Axes.legend
draggablebool, default: False. Whether the legend can be dragged with the mouse. See also. Figure.legend. Notes. Some artists are not supported by this ......
Read more >Callbacks of draggable artists should check that they have ...
So either the draggable artist should check that it is still valid while executing callback code, or it should disconnect itself upon removal...
Read more >widgets.py
Hold the *ctrl* key and click and drag a vertex to reposition it (the *ctrl* key is not necessary if the polygon has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @swharden. Thanks for this big amout of work. I checked this, have some ideas that to add and refactor. Try to make this soon. There are one thing i really can’t solve. Dragging axises or spans looks much more laggy then paning. Check the code, it have the same math complexity. Profiled, also nothing specal. But dragging goes like 3 fps, when pan or zoom goes smooth.
We should properly alias while dragging
https://github.com/swharden/ScottPlot/blob/334f93dec027cd8d950bc63561f0925612d7e3c1/src/ScottPlot.WinForms/FormsPlot.cs#L216
Like we do while panning
https://github.com/swharden/ScottPlot/blob/334f93dec027cd8d950bc63561f0925612d7e3c1/src/ScottPlot.WinForms/FormsPlot.cs#L207