A line series is a sequence of data points connected by lines, progressing
from left to right or top to bottom, if chart is vertical or horizontal,
respectively.
The class used to generate a line series is com.jinsight.jetchart.LineSerie.
There are methods that can be used to specify the thickness, style(solid or dashed)
and a few other properties.
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); LineSerie ls=new LineSerie(); ls.setTitle("Line series"); ls.setColor(Color.red); double[] values={100,80,90,110}; ls.setValues(values); graph.addSerie(ls); setSize(400,300); setVisible(true); } public static void main(String[] args) { new Main(); } }