mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 20:50:43 +00:00
Fit Ticks debug update
This commit is contained in:
parent
234b159a6e
commit
75b7970041
@ -364,7 +364,7 @@ void gLineChart::Plot(gGraphWindow & w,float scrx,float scry)
|
||||
|
||||
time=start+tim[i];
|
||||
if (first) {
|
||||
if (num_points>5 && (time < minx)) continue; // Skip stuff before the start of our data window
|
||||
if (num_points>15 && (time < minx)) continue; // Skip stuff before the start of our data window
|
||||
first=false;
|
||||
if (i>=sam) i-=sam; // Start with the previous sample (which will be in clipping area)
|
||||
time=start+tim[i];
|
||||
|
@ -106,7 +106,7 @@ void gXAxis::Plot(gGraphWindow & w,float scrx,float scry)
|
||||
}
|
||||
}
|
||||
if (fit_ticks==0) {
|
||||
qDebug() << "gXAxis::Plot() Short days and zooming in too much screws this up.";
|
||||
qDebug() << "gXAxis::Plot() Couldn't fit ticks.. Too short?" << minx << maxx << xx;
|
||||
return;
|
||||
}
|
||||
if ((div<0) || (div>divcnt)) {
|
||||
|
@ -121,7 +121,7 @@ void DrawTextQueue(gGraphWindow & wid)
|
||||
|
||||
if (wid.parentWidget()!=0) {
|
||||
QPainter painter(&wid);
|
||||
|
||||
painter.setRenderHint(QPainter::HighQualityAntialiasing,true);
|
||||
// TODO.. Prerotate the 90degree stuff here and keep the matrix for all of these..
|
||||
for (int i=0;i<TextQueRot.size();i++) {
|
||||
TextBuffer & t=TextQueRot[i];
|
||||
|
@ -20,7 +20,7 @@ License: GPL
|
||||
//********************************************************************************************
|
||||
// Please INCREMENT the following value when making changes to this loaders implementation.
|
||||
//
|
||||
const int resmed_data_version=1;
|
||||
const int resmed_data_version=2;
|
||||
//
|
||||
//********************************************************************************************
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user