Index: trunk/tools/czartool/Plotter.pm
===================================================================
--- trunk/tools/czartool/Plotter.pm	(revision 29712)
+++ trunk/tools/czartool/Plotter.pm	(revision 29727)
@@ -304,6 +304,21 @@
     my ($self, $timeDiff, $divX, $timeFormat) = @_;
 
+    # if less than a few mins of data, show 1 minute tics
+    if ($timeDiff < 300) {
+        ${$timeFormat} = "%H:%M";
+        ${$divX} = 60;
+    }
+    # if less than a few mins of data, show 5 minute tics
+    elsif ($timeDiff < 1800) {
+        ${$timeFormat} = "%H:%M";
+        ${$divX} = 300;
+    }
+    # if less than an hour of data, show 15 minute tics
+    elsif ($timeDiff < 3600) {
+        ${$timeFormat} = "%H:%M";
+        ${$divX} = 900;
+    }
     # if less than a couple of hour's data plotted, show 30 mins tics
-    if ($timeDiff < 7200) {
+    elsif ($timeDiff < 7200) {
         ${$timeFormat} = "%H:%M";
         ${$divX} = 1800;
