Scroll using jQuery touch events for jfree images - ipad

I have a chart drawing using jfree charts for ipad.
The chart image is shown in a div.
I have to implement scroll functionlitly for chart.
On Scroll:
New chart will be generated on server side and shown.
I am doing it using swipe left and swipe right.
I am not able to achieve touch and scroll.
As shown in image.
I tried using touchstart and touch move but then swipe event is not working.
Is there a way to do it?
In image when touched and scrolled to left.I should be able to identify the touch and scroll different from swipe left and swipe right

i have no working example but facing similar problems. A possible solution could be iScrollview (iScroll for JQM) https://github.com/watusi/jquery-mobile-iscrollview.
See also PINCH/ZOOM: http://cubiq.org/iscroll-4
iScroll - Example: http://cubiq.org/dropbox/iscroll4/examples/zoom/
Let me know if it worked.

Related

How can I show horizontal scrollbar on top and bottom of grid in Ag-grid

I have an ag-grid-react set up with a series of components in place for cell rendering. When my dataset loads the vertical scroll works well but the horizontal scroll isn't obvious unless using a trackpad or horizontal scroll enabled mouse.
I would like to be able to add a scroll bar to the top of the grid as well as the automatically generated one at the bottom?
Has anyone encountered this, come up with as solution?
Thanks in advance.
Note : I found this solution How to add a horizontal scrollbar on top of the ag-grid but seems this is old and not working.

Flutter: Scroll, move widget, everything in the same screen

I'm trying to implement the following screen in Flutter.
It seems trivial to do so, but I couldn't find a way to achieve the same results. This is what I have so far:
My solution without scrolling
Solution following the Flutter demo but placing a map as a SliderAppBar
As you can see, I have a few problems:
This is the most accurate solution (don't look at the small blue widget moving up and down). I can move on the map and scroll through the ListView but I can't move the divider to expand the ListView. Notice that I don't want the ListView to move to the top, but until the user stops.
This one seems the correct solution but, as you can see, there are more problems: The map seems to resize instead of stay the same but just resize its container, and when I scroll down, I see the background of the Scafold.
Any ideas? This is the link to the solution 1.
PD: Sorry for the links to the GIFs. Their size was about 10MB each and I couldn't upload here.

How to make a Animation (Tinder-Like Swipe) with the Draggable Widget who overlap others Widgets?

I’m trying to implement a feature similar to the tinder Swipe.
For this I tried to use the Draggable Widget which seemed to be a « good idea ».
So when a I touch and drag my Draggable, the widget is on top of everything (probably via an OverlayEntry).
But I want also provide a button that will animate and reproduce the Swipe behavior.
But the issue is that when I animate my Draggable it is being other UI elements, not above like when the widget is dragging.
What are my options ? How can I simulate the equivalent of the user drag ?

Highmaps: how to disable map zoom by mouse scroll

I am able to display a map on a page. However, when I scroll up or down the page with the mouse middle scroll button (Logitech mouse), the map zooms in and out. I hope to disable it.
How can I do it?
There's option for that, see mapNavigation.enableMouseWheelZoom.

How to swipe view up to reveal a menu at the bootom of the screen using Swift

I would like to create a toolbar/navigationbar that appears at the bottom of the screen when the user swipes up on the screen. I would like it to have a bit of resistance in the same way pull to refresh works at the top of a tableview. However I am not using a tableview in my app.
I have tried searching for anything that would point me in the right direction, however the search terms seem to return results either about swiping to delete or facebook style menus.
How would I achieve the swipe up to reveal? Any advice or links to helpful tutorials would be much appreciated
Thanks in advance
Add the menu view to the view but outside of the screen. Add a UIPangestureRecognizer to the view. In the action of the pan recognizer, change the frame of the menu view according to the pan distance.

Resources