Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java @ 8288:2f7f9ced46a5
Essentially backout rev 8ad0b7bc3e73 as this makes some SQ-relation curves appear buckled.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Wed, 17 Sep 2014 13:12:12 +0200 |
parents | e4606eae8ea5 |
children | ac7cb15e1946 |
comparison
equal
deleted
inserted
replaced
8287:4c1f57839ae9 | 8288:2f7f9ced46a5 |
---|---|
377 protected NumberAxis createXAxis(String label) { | 377 protected NumberAxis createXAxis(String label) { |
378 boolean logarithmic = (Boolean)diagramAttributes.getDomainAxis(). | 378 boolean logarithmic = (Boolean)diagramAttributes.getDomainAxis(). |
379 isLog().evaluate((D4EArtifact)getMaster(), context); | 379 isLog().evaluate((D4EArtifact)getMaster(), context); |
380 | 380 |
381 if (logarithmic) { | 381 if (logarithmic) { |
382 LogarithmicAxis la = new LogarithmicAxis(label); | 382 return new LogarithmicAxis(label); |
383 la.setStrictValuesFlag(false); | |
384 la.setAllowNegativesFlag(true); | |
385 return la; | |
386 } | 383 } |
387 return new NumberAxis(label); | 384 return new NumberAxis(label); |
388 } | 385 } |
389 | 386 |
390 | 387 |