Mercurial > dive4elements > river
changeset 9431:eeea16ea0980
Added inverted attribute for y axis
author | mschaefer |
---|---|
date | Mon, 20 Aug 2018 09:42:32 +0200 |
parents | e8b1255fc89e |
children | d194c5b24bf8 |
files | artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java Mon Aug 20 09:41:07 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java Mon Aug 20 09:42:32 2018 +0200 @@ -1294,6 +1294,10 @@ axis.setAutoRangeIncludesZero(true); } + if (axisAttributes.isInverted() == DiagramAttributes.TRUE) { + axis.setInverted(true); + } + axis.setLowerMargin(axisAttributes.getLowerMargin()); axis.setUpperMargin(axisAttributes.getUpperMargin());