alexy
30th May 2015, 13:20
Dear all,
please, don't beat me for posting such a topic once again. At the moment I'm trying to implement a typical functionality: to collect thousands of samples from hardware connected to PC and to precisely display it. I chose a Qwt library which is great and totally covers all of my "wishes". Every second a software receives about 1000 samples which are being saved to the HDD. After all samples are collected and sampling process is finished I need to discover what I've received. At this moment I enable the magnify/pan functionality of Qwt. And here is an "issue" that makes me mad a bit:
1. Magnifying to some interesting area of chart (step 1) is displayed at attached file with name wheel1.jpg
11185
2. On the next magnifying step (just one mouse wheel movement with default wheel factor 0.9) I see the following curve:
11184
3. Obviously, the shape and detalization of the curve becomes worsened. And that occurs when I tried to zoom in.
I tried both QwtCurveFitters: QwtWeedingCurveFitter and QwtSplineCurveFitter, but with no result at the moment. A magnifier is used with mostly default settings:
QwtPlotMagnifier* magnifier = new QwtPlotMagnifier( ui->chart->canvas() );
magnifier->setMouseButton( Qt::MidButton );
magnifier->setWheelFactor( 0.9 ); // 0.95
Could you please help to make it behavior to be more predictable and logically clear.
please, don't beat me for posting such a topic once again. At the moment I'm trying to implement a typical functionality: to collect thousands of samples from hardware connected to PC and to precisely display it. I chose a Qwt library which is great and totally covers all of my "wishes". Every second a software receives about 1000 samples which are being saved to the HDD. After all samples are collected and sampling process is finished I need to discover what I've received. At this moment I enable the magnify/pan functionality of Qwt. And here is an "issue" that makes me mad a bit:
1. Magnifying to some interesting area of chart (step 1) is displayed at attached file with name wheel1.jpg
11185
2. On the next magnifying step (just one mouse wheel movement with default wheel factor 0.9) I see the following curve:
11184
3. Obviously, the shape and detalization of the curve becomes worsened. And that occurs when I tried to zoom in.
I tried both QwtCurveFitters: QwtWeedingCurveFitter and QwtSplineCurveFitter, but with no result at the moment. A magnifier is used with mostly default settings:
QwtPlotMagnifier* magnifier = new QwtPlotMagnifier( ui->chart->canvas() );
magnifier->setMouseButton( Qt::MidButton );
magnifier->setWheelFactor( 0.9 ); // 0.95
Could you please help to make it behavior to be more predictable and logically clear.