comparison flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java @ 3099:ef0dd585b5e0

Display measurements in SQ relation charts. flys-artifacts/trunk@4698 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Jun 2012 10:26:26 +0000
parents 8ad8a227d983
children 9592b7d76633
comparison
equal deleted inserted replaced
3098:1d79c85bd8c2 3099:ef0dd585b5e0
102 102
103 if (IS.SQ_CURVE(name)) { 103 if (IS.SQ_CURVE(name)) {
104 doSQCurveOut(artifactAndFacet, attr, visible); 104 doSQCurveOut(artifactAndFacet, attr, visible);
105 } 105 }
106 else if (IS.SQ_MEASUREMENT(name)) { 106 else if (IS.SQ_MEASUREMENT(name)) {
107 doSQMeasurementsOut(artifactAndFacet, attr, visible); 107 doSQOut(artifactAndFacet, attr, visible);
108 } 108 }
109 else if (IS.SQ_OUTLIER(name)) { 109 else if (IS.SQ_OUTLIER(name)) {
110 doSQOutliersOut(artifactAndFacet, attr, visible); 110 doSQOut(artifactAndFacet, attr, visible);
111 } 111 }
112 } 112 }
113 113
114 114
115 protected void doSQCurveOut( 115 protected void doSQCurveOut(
120 logger.debug("doSQCurveOut"); 120 logger.debug("doSQCurveOut");
121 logger.error("NOT IMPLEMENTED: doSQCurveOut"); 121 logger.error("NOT IMPLEMENTED: doSQCurveOut");
122 } 122 }
123 123
124 124
125 protected void doSQMeasurementsOut( 125 protected void doSQOut(
126 ArtifactAndFacet artifactAndFacet, 126 ArtifactAndFacet artifactAndFacet,
127 Document attr, 127 Document attr,
128 boolean visible 128 boolean visible
129 ) { 129 ) {
130 logger.debug("doSQMeasurementsOut"); 130 logger.debug("doSQOut: " + artifactAndFacet.getFacetDescription());
131 logger.error("NOT IMPLEMENTED: doSQMeasurementsOut");
132 }
133
134
135 protected void doSQOutliersOut(
136 ArtifactAndFacet artifactAndFacet,
137 Document attr,
138 boolean visible
139 ) {
140 logger.debug("doSQOutliersOut");
141 131
142 Facet f = artifactAndFacet.getFacet(); 132 Facet f = artifactAndFacet.getFacet();
143 SQ[] sqs = (SQ[]) artifactAndFacet.getData(context); 133 SQ[] sqs = (SQ[]) artifactAndFacet.getData(context);
144 XYSeries series = new StyledXYSeries(f.getDescription(), attr); 134 XYSeries series = new StyledXYSeries(f.getDescription(), attr);
145 135

http://dive4elements.wald.intevation.org