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.

Pan & zoom not working for x-axis

See original GitHub issue

Hi, I am trying to get pan & zoom working but I am not able to do that on X-axis even though I have the following settings. The provided examples works fine and I am trying to mimic those.

pan: { enabled: true, mode: 'xy' limits: { max: 10, min: 0.5 } },

zoom: { enabled: true, mode: 'xy' limits: { max: 10, min: 0.5 } },

What are the common mistakes when this happens? Fiddle: https://jsfiddle.net/jm1adysp/3/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

10reactions
etimbergcommented, Jun 1, 2016

Awesome, thanks. To get this working, I need to implement panning and zooming for the category scale. Right now only numerical scales are supported

2reactions
quique1233commented, Jan 13, 2017

@etimberg

Awesome, thanks. To get this working, I need to implement panning and zooming for the category scale. Right now only numerical scales are supported

Any new about this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chartjs-plugin-zoom plugin does not change x axis labels
js module in order to plot some data and am using the chartjs-plugin-zoom in order to enable zooming and panning however although the...
Read more >
Unable to get Zooming and Panning when using ... - Syncfusion
Hello,. I am working on real time area chart where I have to display range of data points on rendering. After using visibleMinimum...
Read more >
import zoomPlugin from 'chartjs-plugin-zoom'
Zooming is done via the mouse wheel or via a pinch gesture. jsIn this video we will explore the zoom mode options. neon-dev....
Read more >
Zoom and pan by selecting data within the chart
Pan, zoom in and out, and autozoom in Amazon QuickSight maps. In case you are using axis based visual like Line, Bar, Area...
Read more >
xAxis Labels partly disappear during zoom/pan ccasionally
This only happens when zooming in or panning to one side. Half of the labels then disappear on the side in which the...
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