Index: /trunk/tools/czartool/CzarDb.pm
===================================================================
--- /trunk/tools/czartool/CzarDb.pm	(revision 31898)
+++ /trunk/tools/czartool/CzarDb.pm	(revision 31899)
@@ -609,4 +609,6 @@
     # decide on a number for the running mean for rate plots - use 10% of total data points
     my $range = int($count/10);
+    if ($range < 1) {$range = 1;}
+
     $self->getTimeMinMaxDiff($label, $stage, $fromTime, $toTime, $minX, $maxX, $timeDiff);
     # grab all the data for the provided time range
