comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 2052:c7f18fa0d685

Added missing getYAxisWalker() in CrossSectionGenerator and create new instances of IdentfifiableNumberAxis in XYChartGenerator.createYAxis(int). flys-artifacts/trunk@3542 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 27 Dec 2011 08:04:12 +0000
parents 4ba5036109d2
children f9a972d375ba
comparison
equal deleted inserted replaced
2051:4ba5036109d2 2052:c7f18fa0d685
627 /** 627 /**
628 * Create Y (range) axis for given index. 628 * Create Y (range) axis for given index.
629 * Shall be overriden by subclasses. 629 * Shall be overriden by subclasses.
630 */ 630 */
631 protected NumberAxis createYAxis(int index) { 631 protected NumberAxis createYAxis(int index) {
632 NumberAxis axis = new NumberAxis(getYAxisLabel(index)); 632 YAxisWalker walker = getYAxisWalker();
633
634 IdentifiableNumberAxis axis = new IdentifiableNumberAxis(
635 walker.getId(index),
636 getYAxisLabel(index));
637
633 axis.setAutoRangeIncludesZero(false); 638 axis.setAutoRangeIncludesZero(false);
634 return axis; 639 return axis;
635 } 640 }
636 641
637 642

http://dive4elements.wald.intevation.org