Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Charts Panning with ScrollHandDrag Problem
veriginia last edited by
Qt Carts Drag Problem
We are using Qt charts. I need to implement zooming and dragging on chart. I implemented my own ChartView and set the drag mode to QGraphicsView::ScrollHandDrag in ChartView's
constructor. But it does not work. What can be wrong?
Hi and welcome to devnet,
You should also share the code you use to setup your chart.
Note that Qt Chart is a licensed product so you might rather want to contact the Qt Company directly for questions related to it.
martonmiklos last edited by
Have you been able to solve it?
The QChartView has a setDragMode method, which changes the cursor to hand if I call it with: setDragMode(ScrollHandDrag);, but the scrolling does not get performed.
Like I already wrote to @veriginia, please provide a code sample that reproduce this.
engsml last edited by
@martonmiklos Hi! I found your Q while searching for the same problem. How did you end up figuring it out?