Skip to content

Commit 0aab4cd

Browse files
lcRalphSteinhagen
authored andcommitted
Wrong calculations: 30 ddmins = 1800 secs instead of 180; 2.5 hrs = 9000 secs instead of 900.
1 parent 8878b81 commit 0aab4cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chartfx-chart/src/main/java/io/fair_acc/chartfx/axes/spi/format/DefaultTimeTickUnitSupplier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ public class DefaultTimeTickUnitSupplier implements TickUnitSupplier {
2929
30.000, // 30 seconds
3030
60.000, // 1 minute
3131
900.000, // 15 minutes
32-
180.000, // 30 minutes
32+
1800.000, // 30 minutes
3333
3600.000, // 1 hour
3434
5400.000, // 1.5 hours
3535
7200.000, // 2 hours
36-
900.000, // 2.5 hours
36+
9000.000, // 2.5 hours
3737
10800.000, // 3 hours
3838
12600.000, // 3.5 hours
3939
14400.000, // 4 hours

0 commit comments

Comments
 (0)