##// END OF EJS Templates
Fix zoomlinechart x-axis pan direction...
Miikka Heikkinen -
r2579:82300aabf82d
parent child
Show More
@@ -49,7 +49,7 bool Chart::gestureEvent(QGestureEvent *event)
49 49 {
50 50 if (QGesture *gesture = event->gesture(Qt::PanGesture)) {
51 51 QPanGesture *pan = static_cast<QPanGesture *>(gesture);
52 QChart::scroll(pan->delta().x(), pan->delta().y());
52 QChart::scroll(-(pan->delta().x()), pan->delta().y());
53 53 }
54 54
55 55 if (QGesture *gesture = event->gesture(Qt::PinchGesture)) {
General Comments 0
You need to be logged in to leave comments. Login now