fix PM to use exp weighted avg

Also limit decimal places in STS, LTS, and SB display fields.
This commit is contained in:
Eric Murray
2009-10-16 15:13:16 -07:00
committed by Sean Rhea
parent 46d026674f
commit 617f034fa3
4 changed files with 38 additions and 29 deletions

View File

@@ -59,7 +59,7 @@ void PerfPlot::plot() {
boost::shared_ptr<QSettings> settings = GetApplicationSettings();
int num, tics;
tics = 27;
tics = 42;
setAxisScale(yLeft, _sc->min(), _sc->max());
num = xmax - xmin;
@@ -76,6 +76,8 @@ void PerfPlot::plot() {
tics = 7;
} else if (num < 141) {
tics = 14;
} else if (num < 364) {
tics = 27;
}
setAxisScale(xBottom, xmin, xmax,tics);