## Revision 2327

tmp/org.txm.libs.jfreechart/build.properties (revision 2327)
1 1
bin.includes = META-INF/,\
2 2
3 3
4
lib/jcommon-1.0.21.jar,\
5 4
.,\
6
lib/jfreechart-1.0.17.jar
5
lib/jfreechart-1.5.0.jar
7 6
jars.compile.order =
1
2
Version 2.1, February 1999
3

4
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6
Everyone is permitted to copy and distribute verbatim copies
7
of this license document, but changing it is not allowed.
8

9
[This is the first released version of the Lesser GPL.  It also counts
10
as the successor of the GNU Library Public License, version 2, hence
11
the version number 2.1.]
12

13
Preamble
14

15
The licenses for most software are designed to take away your
16
freedom to share and change it.  By contrast, the GNU General Public
17
18
free software--to make sure the software is free for all its users.
19

20
21
specially designated software packages--typically libraries--of the
22
Free Software Foundation and other authors who decide to use it.  You
23
can use it too, but we suggest you first think carefully about whether
24
25
strategy to use in any particular case, based on the explanations below.
26

27
When we speak of free software, we are referring to freedom of use,
28
not price.  Our General Public Licenses are designed to make sure that
29
you have the freedom to distribute copies of free software (and charge
30
for this service if you wish); that you receive source code or can get
31
it if you want it; that you can change the software and use pieces of
32
it in new free programs; and that you are informed that you can do
33
these things.
34

35
To protect your rights, we need to make restrictions that forbid
36
distributors to deny you these rights or to ask you to surrender these
37
rights.  These restrictions translate to certain responsibilities for
38
you if you distribute copies of the library or if you modify it.
39

40
For example, if you distribute copies of the library, whether gratis
41
or for a fee, you must give the recipients all the rights that we gave
42
you.  You must make sure that they, too, receive or can get the source
43
code.  If you link other code with the library, you must provide
44
complete object files to the recipients, so that they can relink them
45
with the library after making changes to the library and recompiling
46
it.  And you must show them these terms so they know their rights.
47

48
We protect your rights with a two-step method: (1) we copyright the
49
library, and (2) we offer you this license, which gives you legal
50
permission to copy, distribute and/or modify the library.
51

52
To protect each distributor, we want to make it very clear that
53
there is no warranty for the free library.  Also, if the library is
54
modified by someone else and passed on, the recipients should know
55
that what they have is not the original version, so that the original
56
author's reputation will not be affected by problems that might be
57
introduced by others.
58

59
Finally, software patents pose a constant threat to the existence of
60
any free program.  We wish to make sure that a company cannot
61
effectively restrict the users of a free program by obtaining a
62
restrictive license from a patent holder.  Therefore, we insist that
63
any patent license obtained for a version of the library must be
64
consistent with the full freedom of use specified in this license.
65

66
Most GNU software, including some libraries, is covered by the
67
68
General Public License, applies to certain designated libraries, and
69
is quite different from the ordinary General Public License.  We use
70
71
libraries into non-free programs.
72

73
When a program is linked with a library, whether statically or using
74
a shared library, the combination of the two is legally speaking a
75
combined work, a derivative of the original library.  The ordinary
76
77
entire combination fits its criteria of freedom.  The Lesser General
78
79
the library.
80

81
82
does Less to protect the user's freedom than the ordinary General
83
Public License.  It also provides other free software developers Less
84
85
are the reason we use the ordinary General Public License for many
86
87
special circumstances.
88

89
For example, on rare occasions, there may be a special need to
90
encourage the widest possible use of a certain library, so that it becomes
91
a de-facto standard.  To achieve this, non-free programs must be
92
allowed to use the library.  A more frequent case is that a free
93
library does the same job as widely used non-free libraries.  In this
94
case, there is little to gain by limiting the free library to free
95
software only, so we use the Lesser General Public License.
96

97
In other cases, permission to use a particular library in non-free
98
programs enables a greater number of people to use a large body of
99
free software.  For example, permission to use the GNU C Library in
100
non-free programs enables many more people to use the whole GNU
101
operating system, as well as its variant, the GNU/Linux operating
102
system.
103

104
Although the Lesser General Public License is Less protective of the
105
users' freedom, it does ensure that the user of a program that is
106
linked with the Library has the freedom and the wherewithal to run
107
that program using a modified version of the Library.
108

109
The precise terms and conditions for copying, distribution and
110
modification follow.  Pay close attention to the difference between a
111
"work based on the library" and a "work that uses the library".  The
112
former contains code derived from the library, whereas the latter must
113
be combined with the library in order to run.
114

115
116
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117

118
0. This License Agreement applies to any software library or other
119
program which contains a notice placed by the copyright holder or
120
other authorized party saying it may be distributed under the terms of
121
122
123

124
A "library" means a collection of software functions and/or data
125
prepared so as to be conveniently linked with application programs
126
(which use some of those functions and data) to form executables.
127

128
The "Library", below, refers to any such software library or work
129
which has been distributed under these terms.  A "work based on the
130
Library" means either the Library or any derivative work under
131
copyright law: that is to say, a work containing the Library or a
132
portion of it, either verbatim or with modifications and/or translated
133
straightforwardly into another language.  (Hereinafter, translation is
134
included without limitation in the term "modification".)
135

136
"Source code" for a work means the preferred form of the work for
137
making modifications to it.  For a library, complete source code means
138
all the source code for all modules it contains, plus any associated
139
interface definition files, plus the scripts used to control compilation
140
and installation of the library.
141

142
Activities other than copying, distribution and modification are not
143
covered by this License; they are outside its scope.  The act of
144
running a program using the Library is not restricted, and output from
145
such a program is covered only if its contents constitute a work based
146
on the Library (independent of the use of the Library in a tool for
147
writing it).  Whether that is true depends on what the Library does
148
and what the program that uses the Library does.
149

150
1. You may copy and distribute verbatim copies of the Library's
151
complete source code as you receive it, in any medium, provided that
152
you conspicuously and appropriately publish on each copy an
153
appropriate copyright notice and disclaimer of warranty; keep intact
154
all the notices that refer to this License and to the absence of any
155
warranty; and distribute a copy of this License along with the
156
Library.
157

158
You may charge a fee for the physical act of transferring a copy,
159
and you may at your option offer warranty protection in exchange for a
160
fee.
161

162
2. You may modify your copy or copies of the Library or any portion
163
of it, thus forming a work based on the Library, and copy and
164
distribute such modifications or work under the terms of Section 1
165
above, provided that you also meet all of these conditions:
166

167
a) The modified work must itself be a software library.
168

169
b) You must cause the files modified to carry prominent notices
170
stating that you changed the files and the date of any change.
171

172
c) You must cause the whole of the work to be licensed at no
173
charge to all third parties under the terms of this License.
174

175
d) If a facility in the modified Library refers to a function or a
176
table of data to be supplied by an application program that uses
177
the facility, other than as an argument passed when the facility
178
is invoked, then you must make a good faith effort to ensure that,
179
in the event an application does not supply such function or
180
table, the facility still operates, and performs whatever part of
181
its purpose remains meaningful.
182

183
(For example, a function in a library to compute square roots has
184
a purpose that is entirely well-defined independent of the
185
application.  Therefore, Subsection 2d requires that any
186
application-supplied function or table used by this function must
187
be optional: if the application does not supply it, the square
188
root function must still compute square roots.)
189

190
These requirements apply to the modified work as a whole.  If
191
identifiable sections of that work are not derived from the Library,
192
and can be reasonably considered independent and separate works in
193
themselves, then this License, and its terms, do not apply to those
194
sections when you distribute them as separate works.  But when you
195
distribute the same sections as part of a whole which is a work based
196
on the Library, the distribution of the whole must be on the terms of
197
198
entire whole, and thus to each and every part regardless of who wrote
199
it.
200

201
Thus, it is not the intent of this section to claim rights or contest
202
your rights to work written entirely by you; rather, the intent is to
203
exercise the right to control the distribution of derivative or
204
collective works based on the Library.
205

206
In addition, mere aggregation of another work not based on the Library
207
with the Library (or with a work based on the Library) on a volume of
208
a storage or distribution medium does not bring the other work under
209
210

211
3. You may opt to apply the terms of the ordinary GNU General Public
212
213
this, you must alter all the notices that refer to this License, so
214
that they refer to the ordinary GNU General Public License, version 2,
215
216
ordinary GNU General Public License has appeared, then you can specify
217
that version instead if you wish.)  Do not make any other change in
218
these notices.
219

220
Once this change is made in a given copy, it is irreversible for
221
that copy, so the ordinary GNU General Public License applies to all
222
subsequent copies and derivative works made from that copy.
223

224
This option is useful when you wish to copy part of the code of
225
the Library into a program that is not a library.
226

227
4. You may copy and distribute the Library (or a portion or
228
derivative of it, under Section 2) in object code or executable form
229
under the terms of Sections 1 and 2 above provided that you accompany
230
it with the complete corresponding machine-readable source code, which
231
must be distributed under the terms of Sections 1 and 2 above on a
232
medium customarily used for software interchange.
233

234
235
236
source code from the same place satisfies the requirement to
237
distribute the source code, even though third parties are not
238
compelled to copy the source along with the object code.
239

240
5. A program that contains no derivative of any portion of the
241
Library, but is designed to work with the Library by being compiled or
242
linked with it, is called a "work that uses the Library".  Such a
243
work, in isolation, is not a derivative work of the Library, and
244
therefore falls outside the scope of this License.
245

246
However, linking a "work that uses the Library" with the Library
247
creates an executable that is a derivative of the Library (because it
248
contains portions of the Library), rather than a "work that uses the
249
library".  The executable is therefore covered by this License.
250
Section 6 states terms for distribution of such executables.
251

252
When a "work that uses the Library" uses material from a header file
253
that is part of the Library, the object code for the work may be a
254
derivative work of the Library even though the source code is not.
255
Whether this is true is especially significant if the work can be
256
linked without the Library, or if the work is itself a library.  The
257
threshold for this to be true is not precisely defined by law.
258

259
If such an object file uses only numerical parameters, data
260
structure layouts and accessors, and small macros and small inline
261
functions (ten lines or less in length), then the use of the object
262
file is unrestricted, regardless of whether it is legally a derivative
263
work.  (Executables containing this object code plus portions of the
264
Library will still fall under Section 6.)
265

266
Otherwise, if the work is a derivative of the Library, you may
267
distribute the object code for the work under the terms of Section 6.
268
Any executables containing that work also fall under Section 6,
269
whether or not they are linked directly with the Library itself.
270

271
6. As an exception to the Sections above, you may also combine or
272
link a "work that uses the Library" with the Library to produce a
273
work containing portions of the Library, and distribute that work
274
under terms of your choice, provided that the terms permit
275
modification of the work for the customer's own use and reverse
276
engineering for debugging such modifications.
277

278
You must give prominent notice with each copy of the work that the
279
Library is used in it and that the Library and its use are covered by
280
this License.  You must supply a copy of this License.  If the work
281
during execution displays copyright notices, you must include the
282
copyright notice for the Library among them, as well as a reference
283
directing the user to the copy of this License.  Also, you must do one
284
of these things:
285

286
a) Accompany the work with the complete corresponding
287
machine-readable source code for the Library including whatever
288
289
Sections 1 and 2 above); and, if the work is an executable linked
290
with the Library, with the complete machine-readable "work that
291
uses the Library", as object code and/or source code, so that the
292
user can modify the Library and then relink to produce a modified
293
executable containing the modified Library.  (It is understood
294
that the user who changes the contents of definitions files in the
295
Library will not necessarily be able to recompile the application
296
to use the modified definitions.)
297

298
b) Use a suitable shared library mechanism for linking with the
299
Library.  A suitable mechanism is one that (1) uses at run time a
300
copy of the library already present on the user's computer system,
301
rather than copying library functions into the executable, and (2)
302
will operate properly with a modified version of the library, if
303
the user installs one, as long as the modified version is
304
interface-compatible with the version that the work was made with.
305

306
c) Accompany the work with a written offer, valid for at
307
least three years, to give the same user the materials
308
specified in Subsection 6a, above, for a charge no more
309
than the cost of performing this distribution.
310

311
312
313
specified materials from the same place.
314

315
e) Verify that the user has already received a copy of these
316
materials or that you have already sent this user a copy.
317

318
For an executable, the required form of the "work that uses the
319
Library" must include any data and utility programs needed for
320
reproducing the executable from it.  However, as a special exception,
321
the materials to be distributed need not include anything that is
322
normally distributed (in either source or binary form) with the major
323
components (compiler, kernel, and so on) of the operating system on
324
which the executable runs, unless that component itself accompanies
325
the executable.
326

327
328
restrictions of other proprietary libraries that do not normally
329
accompany the operating system.  Such a contradiction means you cannot
330
use both them and the Library together in an executable that you
331
distribute.
332

333
7. You may place library facilities that are a work based on the
334
Library side-by-side in a single library together with other library
335
facilities not covered by this License, and distribute such a combined
336
library, provided that the separate distribution of the work based on
337
the Library and of the other library facilities is otherwise
338
permitted, and provided that you do these two things:
339

340
a) Accompany the combined library with a copy of the same work
341
based on the Library, uncombined with any other library
342
343
Sections above.
344

345
b) Give prominent notice with the combined library of the fact
346
that part of it is a work based on the Library, and explaining
347
where to find the accompanying uncombined form of the same work.
348

349
350
the Library except as expressly provided under this License.  Any
351
352
distribute the Library is void, and will automatically terminate your
353
354
or rights, from you under this License will not have their licenses
355
terminated so long as such parties remain in full compliance.
356

357
9. You are not required to accept this License, since you have not
358
signed it.  However, nothing else grants you permission to modify or
359
distribute the Library or its derivative works.  These actions are
360
prohibited by law if you do not accept this License.  Therefore, by
361
modifying or distributing the Library (or any work based on the
362
Library), you indicate your acceptance of this License to do so, and
363
all its terms and conditions for copying, distributing or modifying
364
the Library or works based on it.
365

366
10. Each time you redistribute the Library (or any work based on the
367
368
original licensor to copy, distribute, link with or modify the Library
369
subject to these terms and conditions.  You may not impose any further
370
restrictions on the recipients' exercise of the rights granted herein.
371
You are not responsible for enforcing compliance by third parties with
372
373

374
11. If, as a consequence of a court judgment or allegation of patent
375
infringement or for any other reason (not limited to patent issues),
376
conditions are imposed on you (whether by court order, agreement or
377
378
excuse you from the conditions of this License.  If you cannot
379
distribute so as to satisfy simultaneously your obligations under this
380
License and any other pertinent obligations, then as a consequence you
381
may not distribute the Library at all.  For example, if a patent
382
license would not permit royalty-free redistribution of the Library by
383
all those who receive copies directly or indirectly through you, then
384
the only way you could satisfy both it and this License would be to
385
refrain entirely from distribution of the Library.
386

387
If any portion of this section is held invalid or unenforceable under any
388
particular circumstance, the balance of the section is intended to apply,
389
and the section as a whole is intended to apply in other circumstances.
390

391
It is not the purpose of this section to induce you to infringe any
392
patents or other property right claims or to contest validity of any
393
such claims; this section has the sole purpose of protecting the
394
integrity of the free software distribution system which is
395
396
generous contributions to the wide range of software distributed
397
through that system in reliance on consistent application of that
398
system; it is up to the author/donor to decide if he or she is willing
399
to distribute software through any other system and a licensee cannot
400
impose that choice.
401

402
This section is intended to make thoroughly clear what is believed to
403
be a consequence of the rest of this License.
404

405
12. If the distribution and/or use of the Library is restricted in
406
certain countries either by patents or by copyrighted interfaces, the
407
408
an explicit geographical distribution limitation excluding those countries,
409
so that distribution is permitted only in or among countries not thus
410
excluded.  In such case, this License incorporates the limitation as if
411
written in the body of this License.
412

413
13. The Free Software Foundation may publish revised and/or new
414
versions of the Lesser General Public License from time to time.
415
Such new versions will be similar in spirit to the present version,
416
but may differ in detail to address new problems or concerns.
417

418
Each version is given a distinguishing version number.  If the Library
419
specifies a version number of this License which applies to it and
420
"any later version", you have the option of following the terms and
421
conditions either of that version or of any later version published by
422
the Free Software Foundation.  If the Library does not specify a
423
424
the Free Software Foundation.
425

426
14. If you wish to incorporate parts of the Library into other free
427
programs whose distribution conditions are incompatible with these,
428
write to the author to ask for permission.  For software which is
429
copyrighted by the Free Software Foundation, write to the Free
430
Software Foundation; we sometimes make exceptions for this.  Our
431
decision will be guided by the two goals of preserving the free status
432
of all derivatives of our free software and of promoting the sharing
433
and reuse of software generally.
434

435
NO WARRANTY
436

437
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446

447
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
DAMAGES.
457

458
END OF TERMS AND CONDITIONS
459

460
How to Apply These Terms to Your New Libraries
461

462
If you develop a new library, and you want it to be of the greatest
463
possible use to the public, we recommend making it free software that
464
everyone can redistribute and change.  You can do so by permitting
465
redistribution under these terms (or, alternatively, under the terms of the
466
467

468
To apply these terms, attach the following notices to the library.  It is
469
safest to attach them to the start of each source file to most effectively
470
convey the exclusion of warranty; and each file should have at least the
471
"copyright" line and a pointer to where the full notice is found.
472

473
JCommon class library (used by JFreeChart 1.0.x)
474
475

476
This library is free software; you can redistribute it and/or
477
modify it under the terms of the GNU Lesser General Public
478
479
version 2.1 of the License, or (at your option) any later version.
480

481
This library is distributed in the hope that it will be useful,
482
but WITHOUT ANY WARRANTY; without even the implied warranty of
483
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
484
Lesser General Public License for more details.
485

486
You should have received a copy of the GNU Lesser General Public
487
License along with this library; if not, write to the Free Software
488
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
489

490
Also add information on how to contact you by electronic and paper mail.
491

492
You should also get your employer (if you work as a programmer) or your
493
school, if any, to sign a "copyright disclaimer" for the library, if
494
necessary.  Here is a sample; alter the names:
495

496
Yoyodyne, Inc., hereby disclaims all copyright interest in the
497
library Frob' (a library for tweaking knobs) written by James Random Hacker.
498

499
{signature of Ty Coon}, 1 April 1990
500
Ty Coon, President of Vice
501

502
That's all there is to it!
1
<pre>
2
********************************
3
*  JFREECHART: Version 1.0.17  *
4
********************************
1
JFreeChart
2
==========
5 3

6
24 November 2013
4
Version 1.5.0, 5 November 2017.
7 5

8
(C)opyright 2000-2013, by Object Refinery Limited and Contributors.
6
9 7

10
-----------------
11
1.  INTRODUCTION
12
-----------------
13
JFreeChart is a free chart library for the Java(tm) platform.  It runs
14
on the Java 2 Platform (JRE 1.6.0 or later) and uses the Java 2D API for
15
drawing.
8
Overview
9
--------
10
JFreeChart is a comprehensive free chart library for the Java(tm) platform that
11
can be used on the client-side (JavaFX and Swing) or the server side (with
12
export to multiple formats including SVG, PNG and PDF).
16 13

17
18
Public Licence (LGPL). A copy of the <a href="about_files/licence-LGPL.txt">licence</a> is included in the
19
distribution.
14
![JFreeChart sample](http://jfree.org/jfreechart/images/coffee_prices.png)
20 15

21
Please note that JFreeChart is distributed WITHOUT ANY WARRANTY;
22
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23
PARTICULAR PURPOSE.  Please refer to the licence for details.
16
24 17

25
We are grateful to the many developers that have contributed to JFreeChart.
26
The contributors are listed below in section 10.
18
http://www.jfree.org/jfreechart
27 19

20
JFreeChart requires JDK 1.6.0 or later.  If JavaFX support is required, you
21
need to also include the JFreeChart-FX extensions:
22

23
https://github.com/jfree/jfreechart-fx
24

25
26
License (LGPL) version 2.1 or later.
27

28

29
Using JFreeChart
30
----------------
31
32

33
<dependency>
34
<groupId>org.jfree</groupId>
35
<artifactId>jfreechart</artifactId>
36
<version>1.5.0</version>
37
</dependency>
38

39

40
Building JFreeChart
28 41
-------------------
29
30
-------------------
31
42
You can build JFreeChart using Maven by issuing the following command from the root directory of the project:
32 43

33
http://www.jfree.org/jfreechart/
44
mvn clean install
34 45

35
If you have any comments, suggestions or bugs to report, please post a
36
message in the JFreeChart forum.
46
The build requires JDK 1.6.0 or later.
37 47

38
-----------------
39
3.  DOCUMENTATION
40
-----------------
41
42
(jfreechart-1.0.17-install.pdf) from the JFreeChart home
43
page or the project page on SourceForge.
44 48

45
Further documentation for JFreeChart (the JFreeChart Developer Guide) is
46
available to purchase from by Object Refinery Limited, a company owned and
47
operated by David Gilbert (the original author of JFreeChart).  For more
48
49
Migration from JFreeChart 1.0.x
50
-------------------------------
51
When migrating from JFreeChart 1.0.x to JFreeChart 1.5.0, please be aware of the following API changes:
49 52

50
http://www.object-refinery.com/jfreechart/guide.html
53
* all the classes from JCommon that are used by JFreeChart have integrated within the JFreeChart jar file within a different package than before (you will need to change your imports);
54
* many methods getBaseXXX()/setBaseXXX() have been renamed setDefaultXXX()/getDefaultXXX();
55
* the ChartUtilities class has been renamed ChartUtils;
56
* all the classes relating to pseudo-3D charts have been removed, as much better 3D charts are offered by [Orson Charts](https://github.com/jfree/orson-charts) so we prefer not to maintain the pseudo-3D chart code within JFreeChart;
57
* the SegmentedTimeline class has been removed due to being (a) complex, (b) not always being correct and, as a result, generating too many support requests;
58
* the org.jfree.chart.utils.ParamChecks class has been renamed org.jfree.chart.utils.Args.
51 59

52
Sales of the JFreeChart Developer Guide are an important source of funding for
53
60
54 61

55
API documentation files in HTML format are available on-line.  If you wish
56
to keep a local copy of the API files, you can regenerate them directly
57
from the source code.  You can do this using the 'javadoc' utility directly,
58
or with the Ant script (build.xml) included in the distribution.
59 62

60
-----------------
61
4.  DEPENDENCIES
62
-----------------
63
JFreeChart has the following dependencies:
63
Demos
64
-----
65
A small set of demo applications can be found in the following projects here
66
at GitHub:
64 67

65
(a)  JRE/JDK 1.6.0 or higher - note that the previous release of JFreeChart
66
worked with JRE/JDK 1.4.2 or later.  With a bit of hacking, it may be possible
67
to get JFreeChart working on these older versions, but we are no longer
68
supporting it.
68
* [JFree-Demos](https://github.com/jfree/jfree-demos "JFree-Demos Project Page at GitHub")
69
* [JFree-FXDemos](https://github.com/jfree/jfree-fxdemos "JFree-FXDemos Project Page at GitHub")
69 70

70
(b)  JCommon - version 1.0.0 or later.  The runtime jar file (version 1.0.21)
71
is included in the JFreeChart distribution.  You can obtain the complete
72
source code for JCommon from:
73 71

74
http://www.jfree.org/jcommon/
72
History
73
-------
75 74

76
75
##### Version 1.5.0 (5 November 2017)
76
- all JavaFX classes moved to a separate project;
77
- added cleaner method to create histograms in ChartFactory;
78
- JCommon removed as a dependency, and required classes incorporated directly (including package rename);
79
- pull request #4 improvements to XYStepRenderer;
80
- bug #36 fix for crosshairs with multiple datasets / axes;
81
- bug #25 fix for DateAxis.previousStandardDate() method;
82
- bug #19 fix for default time zone in SegmentedDateAxis;
83
- SourceForge #1147 improve performance of CategoryPlot mapping datasets to axes;
84
- moved SWT code out into separate projects;
85
- moved demo programs to a separate project;
86
- dropped the Ant build;
77 87

78
(c)  servlet.jar - classes in the org.jfree.chart.servlet
79
package require this file.  The JFreeChart distribution includes the
80
servlet.jar file distributed with Tomcat 4.1.31.  Applicable license
81
terms are published at:
88
##### Version 1.0.19 (31-Jul-2014)
89
- fixed clipping issues for combined plots in JavaFX;
90
- fixed a memory leak in the new JavaFX ChartCanvas class;
91
- CombinedDomainXYPlot and CombinedRangeXYPlot now take into account the pannable flags in the subplots;
92
- FastScatterPlot panning direction is corrected;
93
- added rendering hints to sharpen gridlines and borders in most output formats;
94
- JFreeSVG updated to version 2.0;
95
- included a preview of JSFreeChart, a 2D chart library written in JavaScript that is conceptually similar to JFreeChart but runs directly in a web browser.
82 96

83
97
##### Version 1.0.18 (3-Jul-2014)
98
- added JavaFX support via FXGraphics2D;
99
- improved LogAxis labelling;
100
- improved numeric tick labelling;
101
- center text support in RingPlot;
102
- stepPoint attribute in the XYStepAreaRenderer;
103
- other minor improvements and bug fixes.
84 104

85
(d)  JUnit - a unit testing framework (the junit.jar runtime file is
86
87
of the IBM Common Public License.  You can find out more about JUnit
88
105
##### Version 1.0.17 (22-Nov-2013)
106
- Enhanced XYSplineRenderer with new area fill (contributed by Klaus Rheinwald);
107
- added a notify flag to all datasets that extend AbstractDataset;
108
- extended TimeSeriesCollection to validate TimeSeries keys for uniqueness;
109
- added a new DirectionalGradientPaintTransformer (by Peter Kolb);
110
- updated OHLCSeries;
111
- added HMSNumberFormat;
112
- updated JCommon to version 1.0.21 (includes rotated text improvements) and fixed some minor bugs.
89 113

90
http://www.junit.org
114
###### Bug Fixes
115
- 977  : Multithreading issue with DateAxis;
116
- 1084 : BorderArrangement.add() possible ClassCastException;
117
- 1099 : XYSeriesCollection.removeSeries(int) does not deregister listener;
118
- 1109 : WaterfallBarRenderer uses wrong color for diff 0.
91 119

92
The JUnit tests included with JFreeChart have been created using JUnit
93
4.3.1.
94 120

95
-----------
96
5.  SUPPORT
97
-----------
98
Support questions can be posted in the free support forum at
121
##### Version 1.0.16 (13-Sep-2013)
99 122

100
http://www.jfree.org/forum/viewforum.php?f=3
123
*** THIS RELEASE REQUIRES JDK/JRE 1.6.0 OR LATER. ***
101 124

102
We read all questions posted in the forum, and respond to as many as we can
103
in the time available.  Unfortunately, there are too many questions to answer
104
them all.
125
- Provided subscript/superscript support for axis labels (via AttributedString);
126
- new axis label positioning options;
127
- simplified ChartFactory methods;
128
- added new methods to DatasetUtilities to interpolate y-values in XYDatasets;
129
- added URLs to labels on CategoryAxis;
130
- seamless integration with JFreeSVG (http://www.jfree.org/jfreesvg/) and OrsonPDF
131
(http://www.object-refinery.com/pdf/);
132
- improved the consistency of the SWTGraphics2D implementation;
105 133

106
--------------------
107
6.  ANT BUILD SCRIPT
108
--------------------
109
An Ant build script (build.xml) is included in the distribution.  This
110
is the same script that is used to create the JFreeChart distribution.
134
All the JUnit tests have been upgraded to JUnit 4.
111 135

112
136
###### Bug Fixes
113 137

114
http://ant.apache.org/
138
- 1107 : Fixed TimeZone issue in PeriodAxis;
115 139

116
If you want to rebuild the JFreeChart jar file, we highly recommend that you
117
use this script as it includes certain files (for example, .properties files)
118
that you MUST have in the jar file for JFreeChart to function correctly.
140
Also fixed a line drawing issue with the StackedXYAreaRenderer, and a memory
141
leak in the SWT ChartComposite class.
119 142

120
------------------------
121
7.  THE DEMO APPLICATION
122
------------------------
123
A demo application that shows a selection of the charts that can be
124
generated is included in the JFreeChart distribution.   To run the
125
demo (using JDK 1.6.0 or later), use the following command:
126 143

127
java -jar jfreechart-1.0.17-demo.jar
144
##### Version 1.0.15 (4-Jul-2013)
145
- Added support for non-visible series in XYBarRenderer;
146
- minor gridlines in PolarPlot;
147
- legend item ordering;
148
- chart editor enhancements;
149
- updates to StandardDialScale;
150
- localisation files for Japanese;
151
- refactored parameter checks.
128 152

129
The complete source code for the demo application is available for
130
153
This release also fixes a minor security flaw in the DisplayChart class, detected and reported by OSI Security:
131 154

132
The demo application also links to the JFreeSVG and OrsonPDF libraries, to
133
provide export facilities to the SVG and PDF formats.  These fast, lightweight
134
libraries are not free, licenses can be purchased from Object Refinery Limited.
155
135 156

136
An additional tab added to the demo application in version 1.0.17 showcases
137
Orson Charts 3D, a new library by Object Refinery Limited.  You can find out
138
157
###### Patches
139 158

140
http://www.object-refinery.com/orsoncharts/
159
- 3500621 : LegendTitle order attribute (by Simon Kaczor);
160
- 3463807 : ChartComposite does not dispose popup (by Sebastiao Correia);
161
- 3204823 : PaintAlpha for 3D effects (by Dave Law);
141 162

142
---------------
143
8.  LIMITATIONS
144
---------------
145
JFreeChart has some known limitations that will hopefully be addressed in
146
the future:
163
###### Bug Fixes
147 164

148
- some renderers do not respect the series visibility flags yet;
149
- the chart property editors (accessible by right-clicking on the chart
150
panel) are horribly out of date and probably shouldn't be used;
151
- item labels (if displayed) are not taken into account for the
152
automatically calculated axis range.  As a workaround, you can increase
153
the axis margins;
154
- tick labels on a DateAxis that uses a SegmentedTimeline can be
155
problematic;
165
- 3561093 : Rendering anomaly for XYPlots;
166
- 3555275 : ValueAxis.reserveSpace() problem for axes with fixed dimension;
167
- 3521736 : DeviationRenderer optimisation (by Milan Ramaiya);
168
- 3514487 : SWTGraphics2D get/setStroke() problem;
169
- 3508799 : DefaultPolarItemRenderer does not populate seriesKey in LegendItem;
170
- 3482106 : Missing text in SWTGraphics2D (by Kevin Xu);
171
- 3484408 : Maven fixes (Martin Hoeller);
172
- 3484403 : DateAxis endless loop (by Martin Hoeller);
173
- 3446965 : TimeSeries calculates range incorrectly in addOrUpdate();
174
- 3445507 : TimeSeriesCollection.findRangeBounds() regression;
175
- 3425881 : XYDifferenceRenderer fix (by Patrick Schlott/Christoph Schroeder);
176
- 2963199 : SWT print job (by Jonas Rüttimann);
177
- 2879650 : Path disclosure vulnerability in DisplayChart servlet;
156 178

157
If there are other items that you think should be listed here,
158
179
Also fixed a rendering issue for polar charts using an inverted axis.
159 180

160
--------------
161
9.  WHAT's NEW
162
--------------
163
181
##### Version 1.0.14 (20-Nov-2011)
182
This release contains:
164 183

165
1.0.17 : (22-Nov-2013)
166
- see the NEWS and ChangeLog files for details.
184
- support for multiple and logarithmic axes with PolarPlot;
185
- optional drop-shadows in plot rendering;
186
- fitting polynomial functions to a data series;
187
- some performance improvements in the TimeSeriesCollection class;
188
- mouse wheel rotation of pie charts;
189
- improved Maven support.
167 190

168
1.0.16 : (13-Sep-2013)
169
- bumped the required JRE to 1.6, enhanced axis labelling, provided
170
integration with JFreeSVG and OrsonPDF for vector output, and fixed
171
bugs.
191
###### Patches
172 192

173
1.0.15 : (4-Jul-2013)
174
- various minor feature enhancements and a range of bug fixes, see the
175
NEWS and ChangeLog files for details.
193
- 3435734 : Fix lines overlapping item labels (by Martin Hoeller);
194
- 3421088 : Bugfix for misalignment in BoxAndWhiskerRenderer;
195
- 2952086 : Enhancement for finding bounds in XYZDatasets;
196
- 2954302 : CategoryPointerAnnotation line calculation;
197
- 2902842 : HistogramDataset.addSeries() fires change change event (by Thomas A Caswell);
198
- 2868608 : Whisker width attribute for BoxAndWhiskerRenderer (by Peter Becker);
199
- 2868585 : Added useOutlinePaint flag for BoxAndWhiskerRenderer (by Peter Becker);
200
- 2850344 : PolarPlot enhancements (by Martin Hoeller);
201
- 2795746 : Support for polynomial regression;
202
- 2791407 : Fixes for findRangeBounds() in various renderers.
176 203

177
1.0.14 : (20-Nov-2011)
178
- added support for multiple axes in PolarPlot, performance
179
improvements in the TimeSeriesCollection class, mouse wheel rotation
180
in the PiePlot class, improved Maven support, a range of other
181
minor functional enhancements and numerous bug fixes - see the NEWS
182
and ChangeLog files for details.
204
###### Bug Fixes
183 205

184
1.0.13 : (17-Apr-2009)
185
- there are some significant new features in this release, as well
186
as performance enhancements and bug fixes - see the NEWS and
187
ChangeLog files for details.
206
- 3440237 : Shadows always visible;
207
- 3432721 : PolarPlot doesn't work with logarithmic axis;
208
- 3433405 : LineChart3D - Problem with Item Labels;
209
- 3429707 : LogAxis endless loop;
210
- 3428870 : Missing argument check in TextAnnotation;
211
- 3418287 : RelativeDateFormatTest.java is locale dependent;
212
- 3353913 : Localisation fixes for ChartPanel, CompassPlot and PiePlot3D;
213
- 3237879 : RingPlot should respect getSectionOutlineVisible();
214
- 3190615 : Added missing clear() method in CategoryTableXYDataset;
215
- 3165708 : PolarChartPanel localisation fix;
216
- 3072674 : Bad handling of NaN in DefaultStatisticalCategoryDataset;
217
- 3035289 : StackedXYBarRenderer should respect series/item visible flags;
218
- 3026341 : Check for null in getDomain/RangeBounds() for XYShapeRenderer;
219
- 2947660 : AbstractCategoryRenderer fix null check in getLegendItems();
220
- 2946521 : StandardDialScale check majorTickIncrement argument;
221
- 2876406 : TimeTableXYDataset should support Comparable for series keys;
222
- 2868557 : BoxAndWhiskerRenderer should fire change event in setMedianVisible();
223
- 2849731 : For IntervalCategoryDataset and IntervalXYDataset, fix iterateRangeBounds() in DatasetUtilities;
224
- 2840132 : AbstractXYItemRenderer drawAnnotations doesn't set renderer index;
225
- 2810220 : Offset problem in StatisticalBarRenderer;
226
- 2802014 : Dial value border too small;
227
- 2781844 : XYPointerAnnotation arrow drawing;
228
- 1937486 : AreaRenderer doesn't respect AreaRendererEndType.LEVEL;
188 229

189
1.0.12 : (31-Dec-2008)
190
- added support for minor tick marks, mapping datasets to more than
191
one axis, and numerous bug fixes - see the NEWS and ChangeLog files
192
for details.
230
Also fixed:
231
- use of simple label offset in PiePlot;
232
- cached minY and maxY in TimeSeries.createCopy();
233
- scaling issues for charts copied to the clipboard;
234
- use of timezone in TimeTableXYDataset constructor;
235
- duplicate series names in XYSeriesCollection;
236
- HistogramDataset fires a change event in addSeries();
237
- check visibility of main chart title before drawing it;
238
- fixed serialization of PowerFunction2D, NormalDistributionFunction2D, and LineFunction2D;
239
- item label positioning for the AreaRenderer class when the plot has an horizontal orientation.
193 240

194
1.0.11 : (18-Sep-2008)
195
- this release includes a new chart theming mechanism, and numerous
196
other feature enhancements and bug fixes - see the NEWS and ChangeLog
197
files for details.
241
##### Version 1.0.13 (17-Apr-2009)
198 242

199
1.0.10 : (8-Jun-2008)
200
- another general maintenance release - see the NEWS and ChangeLog
201
files for more details.
243
> SPECIAL NOTICE:  There will be a birds-of-a-feather session for JFreeChart at this year's JavaOne conference in San Francisco.  The session is scheduled for 6.45pm to 7.35pm on Wednesday 3 June.
202 244

203
1.0.9 : (4-Jan-2008)
204
- this release fixes a security advisory with respect to the HTML
205
image maps generated by JFreeChart - see the NEWS file for more
206
information.  In addition, a number of bugs have been fixed.
245
This release contains:
207 246

208
1.0.8.0 : (23-Nov-2007)
209
- primarily a bug fix release.  See the NEWS and ChangeLog files for a
210
more detailed description of the changes in this release.
247
- updates to the ChartPanel class to support copying charts to the clipboard,
248
panning and mouse-wheel zooming, and an overlay mechanism that supports
249
crosshairs;
250
- enhancements to the auto-range calculation for axes, providing the ability
251
to use subranges only and also to skip hidden series;
252
- updates for many of the CategoryItemRenderer implementations to ensure that
253
they respect the seriesVisible flags;
254
- an improvement to the TimeSeries class so that it is no longer necessary to
255
specify the time period type in the constructor;
256
- a new SamplingXYLineRenderer for improving the performance of time series
257
charts with large datasets;
258
- the XYSeries/XYSeriesCollection classes now cache the minimum and maximum
259
data values to improve the performance of charts with large datasets;
260
- entities are now created for the chart, data area and axes, allowing mouse
261
clicks to be detected for these regions;
262
- added a bar alignment factor to the XYBarRenderer class;
263
- a new errorIndicatorStroke field for the StatisticalLineAndShapeRenderer and XYErrorRenderer classes;
264
- added a new HeatMapDataset interface, DefaultHeatMapDataset implementation,
265
and a HeatMapUtilities class to make it easier to create heat map charts;
266
- there is a new flag to allow an XYDataImageAnnotation to be included in the
267
automatic range calculation for the axes;
268
- additional attributes in the XYTextAnnotation class;
269
- added a sampleFunction2DToSeries() method to the DatasetUtilities class;
270
- some changes to the ChartPanel class that help to work around a regression in
271
JRE 1.6.0_10 relating to drawing in XOR mode.  Regarding this final point:
272
* the default value for the useBuffer flag has changed to true, which means
273
that all charts will, by default, be rendered into an off-screen image
274
before being displayed in the ChartPanel;
275
* the zoom rectangle is drawn using XOR mode *only* when the useBuffer
276
flag has been set to false.
277
For most usage, this should improve performance (but at the cost of using more
278
memory for each ChartPanel used in your application);
211 279

212
1.0.7 : (14-Nov-2007)
213
- See the NEWS and ChangeLog files for a more detailed description of
214
the changes in this release.
280
###### Bug Fixes
215 281

216
1.0.6 : (15-Jun-2007)
217
- the VectorRenderer and associated dataset classes have been promoted
218
to the standard API from the 'experimental' source tree.  See the
219
NEWS and ChangeLog files for a more detailed description of the
220
changes in this release.
282
- 2690293 : Problem with Javascript escape characters;
283
- 2617557 : StandardDialScale ignored tickLabelPaint;
284
- 2612649 : Stroke selection in plot property editor;
285
- 2583891 : SWTGraphics2D.fillPolygon() not implemented;
286
- 2564636 : Month constructor ignores Locale;
287
- 2502355 : ChartPanel sending multiple events;
288
- 2490803 : PeriodAxis.setRange() method doesn't take into account that the axis
289
displays whole periods;
221 290

222
1.0.5 : (23-Mar-2007)
223
- this release contains a new DeviationRenderer, enhancements to a
224
number of existing classes and numerous bug fixes, see the NEWS
225
and ChangeLog files for details.
291
In addition, a bug in the SlidingCategoryDataset class has been fixed, the
292
correct outline paint is now used by GradientXYBarPainter, a new method
293
has been added to the ImageMapUtilities class to escape special characters
294
in Javascript strings to avoid problems with the OverLIB and DynamicDrive
295
tooltips, and there are some important fixes in the LogAxis class.
226 296

227
1.0.4 : (9-Feb-2007)
228
- this release contains both new features and bug fixes, see the NEWS
229
and ChangeLog files for details.
297
This release passes 2110 JUnit tests (0 failures) on JRE 1.6.0_12.
230 298

231
1.0.3 : (17-Nov-2006)
232
- this release contains a new DialPlot class (in 'experimental') that
233
will hopefully replace the MeterPlot class, once the API has been
234
polished a little, plus many other new features and bug fixes.  See
235
the NEWS and ChangeLog files for details.
236 299

237
1.0.2 : (25-Aug-2006)
238
- this release contains both new features and bug fixes, see the NEWS
239
and ChangeLog files for details.
300
##### Version 1.0.12 (31-Dec-2008)
240 301

241
1.0.1 : (27-Jan-2006)
242
- primarily a bug fix release, see the NEWS and ChangeLog files for
243
details.
302
303
- support for minor tick marks;
304
- mapping datasets to more than one axis;
305
- an important fix for the XYSeries class (relating to the addOrUpdate() method);
306
- plus numerous other bug fixes.
244 307

245
1.0.0 : (2-Dec-2005)
246
- the first stable release of the JFreeChart class library, all future
247
releases in the 1.0.x series will aim to maintain backward
248
compatibility with this release;
249
- see the ChangeLog file for a detailed list of changes.
308
This release passes 1996 JUnit test (0 failures) on JRE 1.6.0_10.
250 309

251
1.0.0-rc3 : (28-Nov-2005)
252
- the third "release candidate" for version 1.0.0, this release
253
fixes some issues with the 1.0.0-rc2 release (mainly concerning
254
packaging of resource bundles for localisation).
255
- if no significant problems are reported in the next few days,
256
the 1.0.0 "final" release will be posted on 2-Dec-2005.
310
311
- CategoryPlot : added mapDatasetToDomainAxes() and mapDatasetToRangeAxes() methods;
312
- Month : added a new constructor Month(Date, TimeZone, Locale) and deprecated Month(Date, TimeZone);
313
- Quarter : added a new constructor Quarter(Date, TimeZone, Locale) and deprecated Quarter(Date, TimeZone);
314
- XYPlot : added mapDatasetToDomainAxes() and mapDatasetToRangeAxes() methods;
315
- Year : added a new constructor Year(Date, TimeZone, Locale) and deprecated Year(Date, TimeZone);
257 316

258
1.0.0-rc2 : (25-Nov-2005)
259
- the second "release candidate" for version 1.0.0.  If no problems
260
are reported, 1.0.0 "final" will be released on 2-Dec-2005.
261
- see the ChangeLog file for a detailed list of changes in this
262
release.
317
###### Bug Fixes
318
- 2471906 : XYAreaRenderer with dashed outline - performance problem;
319
- 2452078 : StackedAreaChart has gaps;
320
- 2275695 : NullPointerException for SubCategoryAxis on plot with null dataset;
321
- 2221495 : XYLineAnnotation with dashed stroke;
322
- 2216511 : SWTBarChartDemo1 throws RuntimeException;
323
- 2201869 : DateAxis tick label position error;
324
- 2121818 : Label link lines for very thin RingPlot;
325
- 2113627 : XYStepRenderer item labels;
326
- 1955483 : XYSeries.addOrUpdate() problem.
263 327

264
1.0.0-rc1 : (2-Jun-2005)
265
- this is a "release candidate" for version 1.0.0.  If no
266
significant API problems are reported, this release will be
267
re-released as version 1.0.0.
268
- see CHANGELOG.txt for further details.
328
Also fixed StackedXYBarRenderer which was ignoring the shadowsVisible attribute.
269 329

270
1.0.0-pre2 : (10-Mar-2005)
271
- see CHANGELOG.txt for further details.
272 330

273
1.0.0-pre1 : (29-Nov-2004)
274
- see CHANGELOG.txt for further details.
331
##### Version 1.0.11 (18-Sep-2008)
275 332

276
0.9.21 : (9-Sep-2004)
277
- added new axes: PeriodAxis and ModuloAxis.
278
- split org.jfree.data and org.jfree.chart.renderer into
279
subpackages for 'category' and 'xy' charts.
280
- Sun PNG encoder is now used, if available.
281
- a new demo application makes it easier to preview the
282
chart types that JFreeChart can create.
283
- added a new series visibility flag to the AbstractRenderer
284
class.
285
286
- see CHANGELOG.txt for further details.
333
This release features:
334
- a new chart theming mechanism to allow charts to be restyled conveniently;
335
- a new BarPainter mechanism to enhance the appearance of bar charts;
336
- a new XYShapeRenderer class;
337
- a scaling facility for the XYDrawableAnnotation for drawing images within specific data coordinates;
338
- some new classes (XYTaskDataset, XYDataImageAnnotation and XYTitleAnnotation);
339
- a modification to the Year class to support an extended range;
340
- various bug fixes and API improvements.
287 341

288
0.9.20 : (7-Jun-2004)
289
- primarily bug fixes, see CHANGELOG.txt for further details.
342
There is an important bug fix for the StackedBarRenderer3D class (see bug 2031407).
290 343

291
0.9.19 : (28-May-2004)
292
- added methods to XYDataset that return double primitives;
293
- removed distinction between "primary" and "secondary" datasets,
294
renderers and axes;
295
- added fixed legend item options to CategoryPlot and XYPlot;
296
- legend changes by Barek Naveh;
297
- removed Log4j dependency;
298
- many, many bug fixes;
299
- see CHANGELOG.txt for further details.
344
This release passes 1,961 JUnit tests (0 failures) on JRE 1.6.0_07.
300 345

301
0.9.18 : (15-Apr-2004)
302
- new legend anchor options;
303
- fixed broken JPEG export;
304
- fixed title size problems;
305
- various other bug fixes;
346
347
- AbstractRenderer - added clearSeriesPaints() and clearSeriesStrokes() methods;
348
- BarRenderer - added shadowPaint attribute;
349
- CategoryAxis - added getCategoryMiddle() method;
350
- CategoryPlot - added getRendererCount() method;
351
- ChartFactory - added get/setChartTheme() methods;
352
- ChartPanel - increased default maximum drawing width and height;
353
- ChartTheme - new interface;
354
- ChartUtilities - added applyCurrentTheme() method;
355
- CompositeTitle - added backgroundPaint attribute;
356
- GradientBarPainter - new class;
357
- LegendTitle - added getWrapper() method;
358
- OHLCSeriesCollection - added xPosition attribute;
359
- PaintScaleLegend - new subdivisions field;
360
- PiePlot - added autoPopulate flags, and methods to clear section attributes;
361
- Plot - added setDrawingSupplier() method;
362
- RegularTimePeriod - the DEFAULT_TIME_ZONE field has been deprecated in this release;
363
- RelativeDateFormat - added methods to control formatting of hours and minutes - see patch 2033092;
364
- StandardChartTheme - new class;
365
- XYItemRendererState - new methods;
366
- XYPlot - added getRendererCount() method;
367
- XYShapeRenderer - new class;
368
- XYTaskDataset - new class.
306 369

307
0.9.17 : (26-Mar-2004)
308
- pie chart enhancements for labelling, shading and multiple pie
309
charts (2D or 3D) on a single plot;
310
311
- XYSeries can now be sorted or unsorted;
312
- createBufferedImage() method can now scale charts;
313
- domain and range markers now support intervals;
314
- item labels are now supported by some XYItemRenderers;
315
- tooltip and item label generators now use MessageFormat class;
316
317
- added transparency support to PNG export;
318
- numerous other small enhancements and bug fixes, see the
319
CHANGELOG.txt file for more details;
370
###### Patches
371
- 1997549 : Status calls to XYItemRendererState [Ulrich Voigt];
372
- 2006826 : CompositeTitle drawing fix;
373
- 2033092 : Additional formatters for RelativeDateFormat [Cole Markham];
320 374

321
0.9.16 : (09-Jan-2004)
322
- this release contains bug fixes and some minor feature
323
enhancements (title and category label wrapping, legend shape
324
scaling, enhanced performance for the DefaultTableXYDataset class);
325
375
###### Bug Fixes
376
- 1994355 : ChartComposite listener type;
377
- 2031407 : Incorrect rendering in StackedBarRenderer3D;
378
- 2033721 : WaferMapRenderer;
379
- 2051168 : No key in LegendItemEntity for pie charts;
326 380

327
0.9.15 : (28-Nov-2003)
328
- the focus of this release is bug fixes - quite a number of issues
329
have been resolved, please check the bug database for details;
330
- added a new Wafer Map chart type;
331
332
- added localisation files for _ru;
381
Also fixed drawing of alternate grid bands in SymbolAxis, the totalWeight
382
calculation in the CombinedXXXPlot classes, a NullPointerException in the
383
XYPlot class when drawing quadrants, outline visibility in the
384
CategoryPlot class, and auto-range calculations with XYBarRenderer.
333 385

334
0.9.14 : (17-Nov-2003)
335
- implemented zooming for the FastScatterPlot class;
336
- added item label support for stacked bar charts, and new fall back
337
options for item labels that don't fit within bars;
338
- modified the CategoryAxis class to allow additional options for the
339
alignment and rotation of category labels;
340
- addition of the AxisState class, used in the drawing of axes to
341
eliminate a bug when multiple threads draw the same axis
342
simultaneously;
343
- provided additional attributes in the DateTickUnit class to improve
344
labelling on a segmented DateAxis;
345
346
- updated the PNGEncoder;
347
- fixes for tick label positioning on axes;
348
349
- numerous bug fixes;
386
##### Version 1.0.10 (8-Jun-2008)
350 387

351
0.9.13 : (26-Sep-2003)
388
This release contains various bug fixes and minor enhancements to JFreeChart.
389

390
- PiePlot labelling has been enhanced (new curve options, and more robust bounds checking);
391
- The BoxAndWhiskerRenderer now has a maximumBarWidth attribute;
392
- the XYStepRenderer has a new stepPoint attribute;
393
- The RelativeDateFormat class has new options;
394
- There are new dataset classes (SlidingCategoryDataset and SlidingGanttDataset) that permit a subset of categories to be plotted, and allow charts based on these datasets to simulate scrolling.
395
- There is a new ShortTextTitle class.
396

397
This release passes 1,929 JUnit tests (0 failures) on JRE 1.6.0_03.
398

399
400

401
- BoxAndWhiskerRenderer - added maximumBarWidth attribute (see patch 1866446);
402
- ChartPanel - the zoomPoint attribute has been changed from Point to Point2D;
403
- DatasetUtilities - iterateCategoryRangeBounds() is deprecated, the method has been renamed iterateRangeBounds(CategoryDataset) for consistency;
404
- DefaultKeyedValue - the constructor now prevents a null key;
405
- LogFormat - now has a 'powerLabel' attribute;
406
- ShortTextTitle - a new title class;
407
- SlidingCategoryDataset - new class;
408
- SlidingGanttDataset - new class;
409
- TimeSeriesCollection - getSeries(String) changed to getSeries(Comparable);
410
- XIntervalSeriesCollection - added series removal methods;
411
- YIntervalSeriesCollection - added series removal methods;
412
- XYIntervalSeriesCollection - added series removal methods;
413

414
PublicCloneable is now implemented by a number of classes that didn't previously implement the interface - this should improve the reliability of chart cloning.
415

416
###### Patches
417

418
- 1943021 : Fix for MultiplePiePlot [Brian Cabana];
419
- 1925366 : Speed improvement for DatasetUtilities [Rafal Skalny];
420
- 1918209 : LogAxis createTickLabel() changed from private to protected [Andrew Mickish];
421
- 1914411 : Simplification of plot event notification [Richard West];
422
- 1913751 : XYPlot and CategoryPlot addMarker() methods with optional notification [Richard West];
423
- 1902418 : Bug fix for LogAxis vertical labels [Andrew Mickish];
424
- 1901599 : Fixes for XYTitleAnnotation [Andrew Mickish];
425
- 1891849 : New curve option for pie chart label links [Martin Hilpert];
426
- 1874890 : Added step point to XYStepRenderer [Ulrich Voigt];
427
- 1873328 : Enhancements to RelativeDateFormat [Michael Siemer];
428
- 1871902 : PolarPlot now has angleTickUnit attribute [Martin Hoeller];
429
- 1868745 : Fix label anchor points on LogAxis [Andrew Mickish];
430
- 1866446 : Added maximumBarWidth to BoxAndWhiskerRenderer [Rob Van der Sanden];
431

432
###### Bug Fixes
433

434
- 1932146 - PeriodAxis.setRange() doesn't notify listeners;
435
- 1927239 - Fix calculation of cumulative range;
436
- 1926517 - Bugs in data range calculation for combined plots;
437
- 1920854 - PiePlot3D labels drawn multiple times;
438
- 1897580 - Fix for DefaultIntervalCategoryDataset;
439
- 1892419 - Wrong default for minor tick count in LogAxis;
440
- 1880114 - VectorRenderer doesn't work for horizontal plot orientation;
441
- 1873160 - DialPlot clipping issues;
442
- 1868521 - Problem saving charts to JPEG format;
443
- 1864222 - Error on TimeSeries createCopy() method;
444

445
The DatasetUtilities.sampleFunction2D() has been changed to sample the correct
446
number of points - you should check any code that calls this method.  The
447
XYBlockRenderer class now generates entities.  Bugs in the removeDomainMarker()
448
and removeRangeMarker() methods in the CategoryPlot and XYPlot classes have
449
been fixed.  A bug in the TimePeriodValues range calculation has been fixed.
450
Fixes were applied to the clone() methods in the TaskSeries and
451
TaskSeriesCollection classes.
452

453
###### New Experimental Features
454

455
Two new classes CombinedCategoryPlot and CombinedXYPlot have been added to the
456
'experimental' source tree - these were contributed by Richard West (see
457
patch 1924543).
458

459
##### Version 1.0.9 (4-Jan-2008)
460

461
This release contains an important security patch as well as various bug fixes
462
and minor enhancements.  Regarding the security patch, please see the
463
464

465
466

467
Note that the fix incorporated in the special JFreeChart 1.0.8a release was
468
flawed in that it broke the URLs in the HTML image maps generated by
469
JFreeChart.  Further amendments have been made in this release to fix this
470
problem.
471

472
473

474
A number of classes have new methods.  Nothing has been removed or deprecated:
475

476
- HashUtilities - added hashCode() methods for BooleanList, PaintList and StrokeList;
477
478
- IntervalMarker - added new constructor;
479
- Range - added intersects(Range) and scale(Range, double);
480
- TextTitle - added protected methods arrangeNN(), arrangeFN() and arrangeRN();
481
- XYDataItem - added getXValue() and getYValue() methods;
482
- XYPlot - added setFixedDomainAxisSpace(AxisSpace, boolean) and setFixedRangeAxisSpace(AxisSpace, boolean);
483
- XYSeriesCollection - added getSeries(Comparable) method.
484

485
###### Bug Fixes
486

487
- 1852525 - CandlestickChart.getCategoryPlot() - ClassCastException;
488
- 1851416 - testGetFirstMillisecondWithTimeZone fails in 1.0.8a;
489
- 1849333 - 1.0.8a breaks URLs in HTML image maps;
490
- 1848961 - GroupedStackedBarRenderer works only for primary dataset;
491
- 1846063 - Endless loop in paint of XYPlot;
492
- 1840139 - Cross-site scripting vulnerabilities in image map code;
493
- 1837979 - Background image not shown with SWT;
494
- 1460195 - ChartEntity.getImageMapAreaTag() needs nohref;
495
- 1400917 - OverLIBToolTipTagFragmentGenerator not escaping single quote;
496
- 1363043 - Escape Image Map Data;
497
- 1178601 - AbstractRenderer.hashcode() method returns the same value;
498

499
In addition, a bug in the constructor for the Week class has been fixed.
500

501
##### Version 1.0.8 (23-Nov-2007)
502
This release is primarily a bug fix release:
503
- a problem with pie chart labeling;
504
- a regression in the DefaultCategoryDataset class (and underlying KeyedValues2D class);
505
- a cloning bug in the TimeSeries class.
506

507
508
- the StatisticalBarRenderer class has a new errorIndicatorStroke field and has been updated to support gradients;
509
- the StandardDialScale has had some missing accessor methods implemented;
510
- an override field in the StandardXYItemRenderer class has been deprecated;
511
- some warnings reported by FindBugs 1.3.0 have been addressed.
512

513
##### Version 1.0.7 (14-Nov-2007)
514
This release features
515
- new classes DialPlot and LogAxis (previously in experimental);
516
- initial support for minor tick units;
517
- a new anchored zooming option for the ChartPanel class;
518
- optional simple labeling on pie charts;
519
- improvements to the "statistical" datasets and underlying data structures;
520
- and numerous bug fixes.
521

522
523

524
- CategoryAxis - added getCategorySeriesMiddle() method;
525
- CategoryPlot - added methods to remove markers;
526
- ChartPanel - added defaultDirectoryForSaveAs attribute;
527
- DialPlot - new class, an alternative to MeterPlot;
528
- LogAxis - new class, an alternative to LogarithmicAxis;
529
- NumberTick - new constructor that allows specification of the tick type;
530
- NumberTickUnit - new constructor to specify the minor tick count;
531
- SymbolAxis - new methods get/setGridBandAlternatePaint();
532
- TickType - new class;
533
- TickUnit - added minorTickCount attribute;
534
- ValueTick - added tickType attribute;
535
- StandardPieSectionLabelGenerator - new constructors accepting a Locale;
536
- StandardPieToolTipGenerator - likewise;
537
- CategoryPlot - added getRangeAxisIndex(), zoomDomainAxes() and zoomRangeAxes() methods;
538
- FastScatterPlot - added new zooming methods;
539
- PiePlot - new attributes to support simple labeling;
540
- PlotUtilities - new class;
541
- PolarPlot - added new zooming methods;
542
- ThermometerPlot - likewise;
543
- XYPlot - added methods to remove markers (patch 1823697--same as for CategoryPlot), and added new zooming methods;
544
- Zoomable - added new zooming methods to this interface;
545
- LineAndShapeRenderer - added useSeriesOffset and itemMargin attributes;
546
- MinMaxCategoryRenderer - implemented equals();
547
- XYSplineAndShapeRenderer - new class;
548
- LogFormat - new class;
549
- ChartFactory - new pie and ring chart creation methods that accept a Locale;
550
- ChartPanel - added zoomAroundAnchor attribute;
551
- Series - added isEmpty() method;
552
- BoxAndWhiskerItem - new convenience constructor;
553
- DefaultBoxAndWhiskerCategoryDataset - new remove methods;
554
- DefaultStatisticalCategoryDataset - likewise;
555
- MeanAndStandardDeviation - added new value accessor methods;
556
- TimeTableXYDataset - added clear() method;
557
- Week - added new constructor;
558
- KeyedObjects - added insertValue() and clear() methods;
559
- KeyedObjects2D - added clear() method.
560

561
###### Patches
562

563
- 1823724 - updated XYDifferenceRenderer to support item labels;
564
- 1827829 - fixed possible NullPointerException in XYBarRenderer;
565

566
###### Bug Fixes
567

568
- 1767315 - GrayPaintScale.getPaint() uses wrong value;
569
- 1775452 - Inverted XYBarRenderer does not render margins correctly;
570
- 1802195 - Marker.listenerList serializable;
571
- 1779941 - StatisticalBarRenderer NPE;
572
- 1766646 - XYBlockRenderer can't handle empty datasets;
573
- 1763413 - PeriodAxis labels fail to display with setInverted;
574
- 1737953 - Zoom doesn't work on LogAxis (Demo1);
575
- 1749124 - JFreeChart not added as TitleChangeListener;
576

577
##### Version 1.0.6 (15-Jun-2007)
578
This release features:
579
- a new VectorRenderer (previously in experimental);
580
- a generalised XYDifferenceRenderer;
581
- better support for hotspots on legend items;
582
- improved performance for time series charts displaying subsets of data;
583
- support for GradientPaint in plot backgrounds;
584
- plus the usual slew of bug fixes and minor feature additions.
585

586
587

588
- CategoryItemEntity - replaced row and column index attributes with row and column key attributes;
589
- CategoryItemRenderer - numerous series override settings have been deprecated;
590
- DefaultPieDataset - added insertValues() method;
591
- HexNumberFormat - new class;
592
- LegendItem - added dataset and seriesKey attributes;
593
- Plot - added new fillBackground() method to support GradientPaint, and added is/setOutlineVisible() methods;
594
- QuarterDateFormat - added GREEK_QUARTERS field plus a new constructor;
595
- SimpleHistogramDataset - added clearObservations() and removeAllBins() methods;
596
- TimeSeriesCollection - added indexOf() method;
597
- URLUtilities - new class;
598
- XYItemRenderer - numerous series override settings have been deprecated;
599
- XYSeriesCollection - added indexOf() method.
600

601
###### Bug Fixes
602

603
- 1735508 - ClusteredXYBarRenderer fails with inverted x-axis;
604
- 1726404 - ChartComposite tooltips;
605
- 1713474 - StackedBarRenderer3D doesn't fill shadows;
606
- 1713401 - StackedBarRenderer3D doesn't check drawBarOutline flag;
607
- 1701822 - DefaultBoxAndWhiskerCategoryDataset doesn't follow contracts;
608
- 1698965 - NPE in CombinedDomainXYPlot;
609
- 1690994 - HideSeriesDemo1 does not work;
610
- 1690654 - Bug in removeValue() of DefaultKeyedValues2D;
611
- 1562701 - LegendItemEntity needs dataset index;
612
- 1486299 - Use URLEncoder.encode() for URL generators;
613

614
Plus the following bugs that didn't have entries in the database:
615

616
- BarRenderer - check for series visibility in getLegendItem();
617
- ChartPanel - use correct insets for painting chart buffer to screen, update UI for popup menu if LookAndFeel changes;
618
- DateAxis - fixed boundary cases for previousStandardDate() method;
619
- LineBorder - only draw border if area has positive dimensions;
620
- JFreeChart - should register as a listener with the default legend;
621
- StandardXYItemRenderer - fixed a problem where chart entities are created for non-visible items;
622
- TimePeriodValuesCollection.getDomainBounds() now computes the bounds correctly;
623
- XYLineAndShapeRenderer - fixed a problem where chart entities are created for non-visible items;
624
- XYLine3DRenderer - equals() implemented, and serialization fixed;
625
- XYTitleAnnotation - fixed equals() method;
626
- various resource usage bugs in the experimental ChartComposite class;
627

628
##### Version 1.0.5 (23-Mar-2007)
629
This release features:
630
- a new DeviationRenderer class;
631
- support for item labels in StackedXYBarRenderer;
632
- tooltips and URLs in the CategoryStepRenderer; and
633
- many bug fixes.
634

635
636

637
- AbstractCategoryItemRenderer - added createState() method;
638
- StackedXYBarRenderer - added get/setRenderAsPercentages() methods;
639
- XYIntervalSeries - added getXLowValue(), getXHighValue(), getYLowValue() and getYHighValue();
640
- YIntervalSeries - added getYLowValue() and getYHighValue() methods;
641

642
###### Bug Fixes
643

644
- 1681777 - DefaultCategoryDataset does not clone data;
645
- 1672552 - Zoom rectangle is lost when the chart is repainted;
646
- 1671645 - Crosshair incorrectly positioned in horizontal orientation;
647
- 1669302 - Tick labels in vertical symbol axis;
648
- 1669218 - CategoryPlot.setDomainAxisLocation() ignores parameter;
649
- 1667750 - Clip region not restored in Spider and MeterPlot;
650
- 1663380 - OutputStream not closed;
651
- 1659627 - IntervalMarker with Double.POSITIVE_INFINITY bound;
652
- 1647269 - IntervalMarker with Double.MAX_VALUE as upper bound;
653
- 1594477 - XYBarRenderer does not render bars on LogarithmicAxis;
654
- 1459958 - Log axis zoom function problem;
655
- 880597 - Zooming ChartPanel with log axes;
656
- 764561 - Dynamic chart zoom buggy.
657

658
Also fixed numerous bugs in equals(), cloning and serialization implementations.
659

660
##### Version 1.0.4 (9-Feb-2007)
661

662
This release features:
663
- a new XYBlockRenderer class;
664
- URLs for pie chart labels in HTML image maps;
665
- a new dataset implementation for open-high-low-close charts;
666
- support for gradient paint in ClusteredXYBarRenderer, StackedXYBarRenderer and legend graphics;
667
- a new anchor attribute for XYImageAnnotation`;
668
- improvements to the experimental SWT support; plus
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff