question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Link vertical draggable axis

See original GitHub issue

Your Environment

  • ScottPlot Version: 4.1.13 Beta
  • Operating System: W10
  • GUI app WinForms

Questions:

  • How to link 2 vertical lines in 2 different plots?
  • How to dynamically display the X coordinate (ideally I want the current index in the data and display the Y data value)?

What I want to achieve: image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

3reactions
EFerucommented, May 23, 2021

@swharden @StendProg + other contributors, I don’t know what magic you guys did in the 4.1.14, I changed the old line from: item.fplot.RenderLowThenImmediateHighQuality(); for linking Verical Line Axis to

item.fplot.RenderRequest();

And it works amazing! Much better and smotther. See below the video, Thank you guys!!

https://user-images.githubusercontent.com/24780745/119254677-ef1d0d80-bbb7-11eb-9eed-3407b290d731.mp4

2reactions
StendProgcommented, May 23, 2021

Hi @EmanuelFeru,

I am very glad that we managed to solve the problem you described. I wanted to write off that the fix got into the release, but it looks like you got ahead of me.

I don’t know what magic you guys did in the 4.1.14

This is in fact the same RenderDelayedHighQuality();, but wrapped in a nicer API.

This fix appeared directly thanks to you, it never occurred to me that the RenderQueue maded for internal needs could also be very useful for users handlers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vertical scroll for Draggables bound to X-axis · Issue #221
I would like to let the parent / page / body receive vertical drags and scroll as if the Draggable was a simple...
Read more >
How to make jQuery draggable with fixed X and Y axis?
jQueryUI supports two methods for controlling dragging on a fixed track. You can use the axis option to limit dragging movement on a ......
Read more >
jQuery UI Draggable axis Option
The jQuery UI Draggable axis Option is used to dragging the element either on the horizontal (x) or vertical (y) axis.
Read more >
Draggable rotation only responding to drag of Y axis when ...
You swipe vertically within a section to see slides, and swipe left or right to move through sections. It moves 1024px every section...
Read more >
Question - How do I drag UI only on the Y-axis?
If the element is anchored vertically, you can adjust its position using the Pos Y attribute. ... If it has a relative anchor...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found