##// END OF EJS Templates
Fix zoom in chartviewer
Michal Klocek -
r1751:4d5762f1ac4f
parent child
Show More
@@ -556,6 +556,7 void Window::mouseReleaseEvent(QMouseEvent *event)
556
556
557 if (plotArea.contains(m_origin)) {
557 if (plotArea.contains(m_origin)) {
558 QRectF rect = m_rubberBand->rect();
558 QRectF rect = m_rubberBand->rect();
559 rect.translate(-geometryRect.topLeft());
559 chart->zoomIn(rect);
560 chart->zoomIn(rect);
560 break;
561 break;
561 }
562 }
General Comments 0
You need to be logged in to leave comments. Login now