Draw Line

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
nitin
Posts: 16
Joined: Wed Dec 03, 2003 10:21 am
Location: Pune

Draw Line

Post by nitin » Thu Jan 08, 2004 12:19 pm

How to draw dashed line using JFreeChart?

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 » Thu Jan 08, 2004 11:00 pm

There are many places in JFreeChart where you can control the line style that is used. You first create a BasicStroke object to define the line style, then pass it to the appropriate JFreeChart object (often the renderer). LineChartDemo1.java is a good demo to look at.
David Gilbert
JFreeChart Project Leader

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

Guest

Post by Guest » Sat Jan 10, 2004 5:50 am

Hi David,
Thanks for reply.
After working for about a month on JFreeChart I have realised that its really good.
Thanks for providing us with such a good tool

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 » Mon Jan 12, 2004 4:02 pm

No problem!
David Gilbert
JFreeChart Project Leader

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

Locked