divyavamsee / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Adds support for scaling and panning on Mac via Trackpad and Magic Mouse #614

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm working on small a Mac app. I wanted to be able to use my trackpad to zoom 
in and out of graphs, as well as to pan around without having to click down. 
So, here's a patch to do that.

An unintentional-but-nice side effect is that mice with scroll wheels will also 
be able to pan on the Y axis now (and the X axis, if the hardware supports 
that).

There's also a property to enable/disable allowPinchScaling, to closer mimic 
the interface of CPTGraphHostingView on iOS.

Original issue reported on code.google.com by z...@drayer.name on 20 Dec 2013 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
Related to issue #590.

Original comment by eskr...@mac.com on 21 Dec 2013 at 1:03

GoogleCodeExporter commented 9 years ago
allowPinchScaling and -magnifyWithEvent: are already implemented on the release 
2.0 branch.

Original comment by eskr...@mac.com on 21 Dec 2013 at 10:25

GoogleCodeExporter commented 9 years ago
Moved to GitHub issue #25.

https://github.com/core-plot/core-plot/issues/25

Original comment by eskr...@mac.com on 30 Dec 2013 at 1:16