##// END OF EJS Templates
Fixed scrolling left/right mixed up in QML ChartView
Tero Ahola -
r1955:6977ea36a8f1
parent child
Show More
@@ -517,12 +517,12 void DeclarativeChart::zoom(qreal factor)
517
517
518 void DeclarativeChart::scrollLeft(qreal pixels)
518 void DeclarativeChart::scrollLeft(qreal pixels)
519 {
519 {
520 m_chart->scroll(pixels, 0);
520 m_chart->scroll(-pixels, 0);
521 }
521 }
522
522
523 void DeclarativeChart::scrollRight(qreal pixels)
523 void DeclarativeChart::scrollRight(qreal pixels)
524 {
524 {
525 m_chart->scroll(-pixels, 0);
525 m_chart->scroll(pixels, 0);
526 }
526 }
527
527
528 void DeclarativeChart::scrollUp(qreal pixels)
528 void DeclarativeChart::scrollUp(qreal pixels)
General Comments 0
You need to be logged in to leave comments. Login now