Qt Charts Panning with ScrollHandDrag Problem
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.
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.
@martonmiklos Hi! I found your Q while searching for the same problem. How did you end up figuring it out?