An area series is similar to a line series. Data points are connected by lines and
the area between the lines and the labels axis(x axis) is filled with a solid color.
The class used to generate an area series is com.jinsight.jetchart.AreaSerie.
import javax.swing.*; import java.awt.*; import com.jinsight.jetchart.*; public class Main extends JFrame { public Main() { Graph graph=new Graph(); Container ct=getContentPane(); ct.add("Center",graph); AreaSerie as=new AreaSerie(); as.setTitle("Area series"); as.setColor(Color.red); double[] values={100,80,90,110}; as.setValues(values); graph.addSerie(as); setSize(400,300); setVisible(true); } public static void main(String[] args) { new Main(); } }