qwerty

Page 12

CHAPTER 2. SAMPLE CHARTS

2.4

11

Line Chart

The line chart can be generated using the same CategoryDataset that is used for the bar charts— figure 2.8 shows an example. Java Standard Class Library Number of Classes By Release 3000 2800 2600 2400

Class Count

2200 2000 1800 1600 1400 1200 1000 800 600 400 200 0 JDK 1.0

JDK 1.1

SDK 1.2

SDK 1.3

SDK 1.4

Release Source: Java In A Nutshell (4th Edition) by David Flanagan (O'Reilly)

Figure 2.8: A line chart (see LineChartDemo1.java)


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.