can't show two or more line---timeseries

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Guest

can't show two or more line---timeseries

Post by Guest » Wed Aug 11, 2004 8:28 am

hi,
i am a new user of JFreeChart. the jfree is so functionable shown in the dome jfreechart-sample.war
but the trouble with me is that i can't show two or more lines in the TimeSeries chart. it just display one line!
how can i do it.

DopeForADay
Posts: 32
Joined: Thu Apr 22, 2004 9:15 am

Post by DopeForADay » Thu Aug 12, 2004 3:52 pm

You have to create a TimeSeries for each 'line' you want to show and add it to your TimeSeriesCollection.

Locked