Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java @ 9431:eeea16ea0980
Added inverted attribute for y axis
author | mschaefer |
---|---|
date | Mon, 20 Aug 2018 09:42:32 +0200 |
parents | 7c7f73e5e01e |
children | d8e753d0fdb9 |
comparison
equal
deleted
inserted
replaced
9430:e8b1255fc89e | 9431:eeea16ea0980 |
---|---|
1292 | 1292 |
1293 if (axisAttributes.includeZero()) { | 1293 if (axisAttributes.includeZero()) { |
1294 axis.setAutoRangeIncludesZero(true); | 1294 axis.setAutoRangeIncludesZero(true); |
1295 } | 1295 } |
1296 | 1296 |
1297 if (axisAttributes.isInverted() == DiagramAttributes.TRUE) { | |
1298 axis.setInverted(true); | |
1299 } | |
1300 | |
1297 axis.setLowerMargin(axisAttributes.getLowerMargin()); | 1301 axis.setLowerMargin(axisAttributes.getLowerMargin()); |
1298 axis.setUpperMargin(axisAttributes.getUpperMargin()); | 1302 axis.setUpperMargin(axisAttributes.getUpperMargin()); |
1299 | 1303 |
1300 TickUnits tickUnits = axisAttributes.getTickUnits(); | 1304 TickUnits tickUnits = axisAttributes.getTickUnits(); |
1301 if( tickUnits != TickUnits.standard ) | 1305 if( tickUnits != TickUnits.standard ) |