Changeset 28776 for trunk/tools/czartool/Czarplot.pm
- Timestamp:
- Jul 29, 2010, 12:59:17 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czartool/Czarplot.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czartool/Czarplot.pm
r28775 r28776 174 174 my $divX = $timeDiff/4; 175 175 176 # if less than a couple of hour s data plotted, show 30 mins tics176 # if less than a couple of hour's data plotted, show 30 mins tics 177 177 if ($timeDiff < 7200) { 178 178 $timeFormat = "%H:%M"; 179 179 $divX = 1800; 180 180 } 181 # if less than one days data plotted, show hourly tics 181 # if less than half a day's data plotted, show hourly tics 182 elsif ($timeDiff < 43200) { 183 $timeFormat = "%H:%M"; 184 $divX = 3600; 185 } 186 # if less than one day's data plotted, show 2 hourly tics 182 187 elsif ($timeDiff < 86400) { 183 188 $timeFormat = "%H:%M"; 184 $divX = 3600;185 } 186 # if more than one day s data plotted, show daisy tics189 $divX = 7200; 190 } 191 # if more than one day's data plotted, show daily tics 187 192 else { 188 193
Note:
See TracChangeset
for help on using the changeset viewer.
