The Wayback Machine - https://web.archive.org/web/20200618063646/https://github.com/topics/pan
Skip to content
#

pan

Here are 98 public repositories matching this topic...

perrochon
perrochon commented Nov 22, 2018

Tried to get this running. Looks super nice and promising. A few things I noticed while setting it up.

  1. I needed to set min sdk to 26 (Oreo) to compile. Not a problem, and easily fixable through error messages

  2. Could it be that .defineZoomLevel replaced .defineDetail and .addDetailLevel? readme.md refers to defineDetail in the quick setup , and the wiki uses addDetailLevel. The demo code

Jip-Hop
Jip-Hop commented Mar 11, 2020

I like this library :)

But I'd like to request the feature to inverse the arrow key direction for panning.
Was able to workaround it myself but could be nice to just pass it as an option.

I made a jsfiddle to show my use case.
Drag the blue circle to the bottom right corner, click the image to activate it and position it inside the container with the arrow

pigobyte
pigobyte commented Apr 22, 2020

i have the chartjs-plugin-zoom.js file in my solution and just added two more function to the chart instance to zoom in and zoom out after the _WheelHandler function.

  chartInstance.ZoomIn = function () {
                        var rect = document.getElementById(chartInstance.canvas.id).getBoundingClientRect();

                        var center = {
         

Improve this page

Add a description, image, and links to the pan topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pan topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.