Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java @ 1963:6c24ffe946a5
Issue 413.
Apply point size from theme attribute linewidth.
flys-artifacts/trunk@3372 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 09 Dec 2011 10:33:40 +0000 |
parents | a9b690d864a7 |
children | e384d78ff78b |
comparison
equal
deleted
inserted
replaced
1962:59622ba800c8 | 1963:6c24ffe946a5 |
---|---|
85 } | 85 } |
86 | 86 |
87 | 87 |
88 protected void applyShowPoints(XYLineAndShapeRenderer r, int idx) { | 88 protected void applyShowPoints(XYLineAndShapeRenderer r, int idx) { |
89 boolean show = ThemeUtil.parseShowPoints(theme); | 89 boolean show = ThemeUtil.parseShowPoints(theme); |
90 r.setSeriesShape(idx, new Ellipse2D.Double(-2.0, -2.0, 4.0, 4.0)); | 90 int size = ThemeUtil.parseLineWidth(theme); |
91 r.setSeriesShape(idx, new Ellipse2D.Double(- size, | |
92 - size, | |
93 2 * size, | |
94 2 * size)); | |
91 r.setSeriesShapesVisible(idx, show); | 95 r.setSeriesShapesVisible(idx, show); |
92 r.setDrawOutlines(true); | 96 r.setDrawOutlines(true); |
93 } | 97 } |
94 | 98 |
95 | 99 |