Line Chart - How to change Line Width

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
world2160
Posts: 7
Joined: Mon Aug 07, 2006 1:03 pm

Line Chart - How to change Line Width

Post by world2160 » Sat Aug 12, 2006 6:23 am

so how can I change the line width of a very basic line graph? I want to make the line thicker

Any help is appreciated :)

develop
Posts: 296
Joined: Wed Mar 23, 2005 10:01 pm

Post by develop » Sun Aug 13, 2006 8:04 pm

you should have renderer . so use following to make line thicker

renderer.setStroke(new java.awt.BasicStroke(2.5f));

hope this helps.

Thanks

sarehman82
Posts: 4
Joined: Fri May 06, 2011 1:39 pm
antibot: No, of course not.

Re: Line Chart - How to change Line Width

Post by sarehman82 » Mon Feb 03, 2014 6:48 am

Thanks develop.. It's helpful :)

Locked