Apex Charts whereby it cannot pan in the y-axis. The user can zoom in with both axes, but they can then only pan horizontally.
I just want to make sure if we can pan vertically in the ApexCharts. Thank you!
No. It seems that you cannot pan vertically with ApexCharts.
I found this "old" thread (2019) where the library author confirms that this feature is not supported: Vertical panning · Issue #978 · apexcharts/apexcharts.js · GitHub
We can only enable or disable panning in the toolbar with a boolean (see toolbar – ApexCharts.js). We have chart.zoom options (see zoom – ApexCharts.js), but there is no chart.pan.
Related
When I enable zoom icons, bars on left & right cut out.
xaxis:{tickPlacement: 'on'}
Note : This problem is not seen when I have 3 or 4 bars in each group. This one has 6 bars in each group.
Multiple bar - zoom disabled - graph looks right
Multiple bar - zoom enabled - graph cuts out on left & right
Is there any solution?
Thanks,
Sandeep
Please click here to see the answer.
Thanks,
Sandeep
Inside the rectangle I placed slicers.
Clicking on the uncovered part of the rectangle moves it in front of the visualizations making them unavailable to interact with, or hidden.
I "Send to back" rectangle but it didnt help.
The visuals are on a picture below:
But if I just hoover mouse on a rectangle area - it covers all visuals:
Any solution to just always keep re
Yeah, that's pretty annoying. I'd suggest voting for this idea and maybe Microsoft will fix this eventually.
Currently, the only workaround I can think of would be to make the colored rectangle part of the page background as an image.
I am using Line chart in my app. I need the mouse scroll should be like we have for google maps(scroll up - zoom in & scroll down - zoom out). The default behavior of google charts of quite opposite. How to change the default behavior? Can anyone help me?
In google charts, we don't have that customization.
I would like to make a multi touch control for my camera
This camera should do:
zoom in/out when pinching
orbit when swiping
pan when swiping with 2 fingers.
Is there somebody who know some good examples/tutorials or give me some advice?
Thank you so much
The best example I found was the Strategy Game (Tower defense) sample that comes with the Unreal Engine. It demonstrates an independent camera system in C++ that responds to touch gestures.
As a simplified but very similar approach you may find also find useful my UE4TopDownCamera sample project for a top down camera with:
spread/pinch or mouse wheel up/down for zoom in/out (implemented as dollying)
swipe with one finger for panning
on/off functionality to lock on/follow main character or freely move
camera.
Please notice that the gestures are not exactly the ones you described, as my requirements were different.
I'll soon upload some full explanation and a video on github.
I am working on a Qt application which resembles hex editor for Mac.
(picture from Google)
It has a very large portion of data to scroll vertically(upward and downward) because it shows all large files data in hex format.
In my application, I'd like to add two finger smooth scrolling in both direction: up and down like that in Macbook Air two finger scrolling.
It work properly with mouse wheel but not with trackpad two finger move scrolling.
If someone has a solution, please help me out. Thanks in advance.
The scroller allows for gestures like click and drag to do kinetic scrolling.
http://qt-project.org/doc/qt-5/qscroller.html#details
Note on this page:
QScroller::TouchGesture 0
The gesture recognizer will only trigger on touch events. Specifically it will react on single touch points when using a touch screen and dual touch points when using a touchpad.
So then the example they give would turn into this for you:
QWidget *w = ...;
QScroller::grabGesture(w, QScroller::TouchGesture);
There is more on doing new things with touch screens and touch pads by handling the QTouchEvent:
http://qt-project.org/doc/qt-5/qtouchevent.html#details
Hope that helps.