comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 1992:e1c9f28e2675

Added more attributes to ChartSettings AxisSection. flys-artifacts/trunk@3428 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 16 Dec 2011 07:28:17 +0000
parents 0bd7c3cf0af1
children 210020108ca4
comparison
equal deleted inserted replaced
1991:0bd7c3cf0af1 1992:e1c9f28e2675
473 String identifier = axis.toString(); 473 String identifier = axis.toString();
474 474
475 AxisSection axisSection = new AxisSection(); 475 AxisSection axisSection = new AxisSection();
476 axisSection.setIdentifier(identifier); 476 axisSection.setIdentifier(identifier);
477 axisSection.setLabel(getYAxisLabel(axis.idx)); 477 axisSection.setLabel(getYAxisLabel(axis.idx));
478 478 axisSection.setFontSize(14);
479 // TODO font-size 479 axisSection.setFixed(false);
480 // TODO fixation 480
481 // TODO lower 481 // XXX We are able to find better default ranges that [0,0], the
482 // TODO upper 482 // only problem is, that we do NOT have a better range than [0,0]
483 // for each axis, because the initial chart will not have a dataset
484 // for each axis set!
485 axisSection.setUpperRange(0d);
486 axisSection.setLowerRange(0d);
483 487
484 axisSections.add(axisSection); 488 axisSections.add(axisSection);
485 } 489 }
486 490
487 return axisSections; 491 return axisSections;

http://dive4elements.wald.intevation.org