Legend Border Paint

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
iogan18tm
Posts: 24
Joined: Tue May 04, 2004 5:14 pm

Legend Border Paint

Post by iogan18tm » Fri Dec 05, 2008 2:10 pm

How can i change (or remove) Legend Border (Paint)? I mean the Line which border all of Legend Items?

iogan18tm
Posts: 24
Joined: Tue May 04, 2004 5:14 pm

Post by iogan18tm » Fri Dec 05, 2008 2:15 pm

As it always goes just found solution
[code]
chart.getLegend().setFrame(chart.getLegend().setFrame(new LineBorder(Color.WHITE,new BasicStroke(0),new RectangleInsets()));
[/code]

Post Reply