Metric Distribution

Show BlankState when no results for date selection.
This commit is contained in:
Mark Liversedge
2013-04-20 11:18:01 +01:00
parent 2b1eac92ca
commit a57a2fd50f

View File

@@ -876,6 +876,9 @@ HistogramWindow::updateChart()
}
if (results.count() == 0) setIsBlank(true);
else setIsBlank(false);
// setData using the summary metrics -- always reset since filters may
// have changed, or perhaps the bin width...
powerHist->setSeries(RideFile::none);