You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic idea is that once we have a clip rect properly in place we can use the Skia Sharp canvas object to Translate and Scale a chart. If this transformations are coordinated with a zoom gesture this will give the look and feel of Pinch Gesture and Zooming.
Once I get a little further along with this I will make a pull request. The above works as a proof of concept in that you can pinch to zoom, however, the labels and Y axis do not properly scale. There's also some pixel precision issues with the clip rect.
Todo Items:
Resolve discussion points surrounding clipping on edges of chart
Add support for panning while zoomed in.
The text was updated successfully, but these errors were encountered:
I'm going to make a few changes to this a bit later. I'm going to have an option to turn on/off pinch to zoom and leave it off by default. When its off I will also disable the cliprect. This will allow backwards compatibility by default, and anyone who enables pinch to zoom can also deal with the clipping changes.
This is a consolidation of these two issues:
However there is a prerequisite issue:
The basic idea is that once we have a clip rect properly in place we can use the Skia Sharp canvas object to Translate and Scale a chart. If this transformations are coordinated with a zoom gesture this will give the look and feel of Pinch Gesture and Zooming.
Scratch Work for Scaling
Scratch Work for Gesture
Once I get a little further along with this I will make a pull request. The above works as a proof of concept in that you can pinch to zoom, however, the labels and Y axis do not properly scale. There's also some pixel precision issues with the clip rect.
Todo Items:
The text was updated successfully, but these errors were encountered: