I have QChartView on the program window. There are arrays of data that correctly shown on chart as QLineSeries (curves of temperature vs time). I can't find mousewheel events for 'mousewheelup zoom-in' and 'mousewheeldown zoom-out' on QChartView? Need ability to zoom by only vertical direction, like a setRubberBand(QChartView::VerticalRubberBand)
but only by mousewheel scroll. Need help
I can't find mouse wheel scroll events for zoom graphics in QChartView
1.1k Views Asked by Joan Cornela At
2
QChartView
is aQWidget
so you could implement that logic using thewheelEvent()
method: