Line Demo 1 or Line Demo 2

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mork
Posts: 10
Joined: Wed Dec 06, 2006 1:39 pm

Line Demo 1 or Line Demo 2

Post by mork » Tue Jan 09, 2007 1:35 pm

If I want to draw two lines with different colors where the chart has a background image, can I still use the techniques in LineChartDemo1.java or should I use LineChartDemo2.java?

Thanks in advance.

M

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jan 09, 2007 5:33 pm

It just happens that LineChartDemo1.java only contains a single series...it's no problem to add more series to the same dataset.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

mork
Posts: 10
Joined: Wed Dec 06, 2006 1:39 pm

Post by mork » Tue Jan 09, 2007 6:43 pm

Thanks David for your reply.

I figured it out.

M

Locked