comparison gnv-artifacts/ChangeLog @ 1055:bb2679624c6a

Implemented a new histogram dataset that takes the width of a single bin as well as the number of bins for the histogram (issue288). gnv-artifacts/trunk@1130 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 27 May 2010 07:41:14 +0000
parents 8430269ec73b
children 0318fda0001e
comparison
equal deleted inserted replaced
1054:8430269ec73b 1055:bb2679624c6a
1 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue288
4
5 * src/main/java/de/intevation/gnv/chart/DefaultHistogram.java: Use
6 AdvancedHistogramDataset as dataset for histograms instead of JFreeChart's
7 HistogramDataset. Adjusted the calculation of bin width and number of bins
8 for this.
9
10 * src/main/java/de/intevation/gnv/chart/AdvancedHistogramDataset.java: This
11 class is mainly a copy of JFreeChart's class HistogramDataset. The
12 difference between these two classes is, that AdvancedHistogramDataset
13 takes an argument for setting the bin width as well as an argument to
14 adjust the number of bins - HistogramDataset just takes the number of
15 bins. The reason why AdvancedHistogramDataset doesn't inherit from
16 HistogramDataset is, that basic attributes of that class have private
17 access.
18
1 2010-05-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> 19 2010-05-26 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 20
3 Issue289 21 Issue289
4 22
5 * src/main/java/de/intevation/gnv/chart/DefaultHistogram.java: Values 23 * src/main/java/de/intevation/gnv/chart/DefaultHistogram.java: Values

http://dive4elements.wald.intevation.org