setBorderVisible(false); doesn't work

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Joey4u
Posts: 4
Joined: Mon Jun 19, 2006 5:35 pm

setBorderVisible(false); doesn't work

Post by Joey4u » Mon Jun 19, 2006 6:03 pm

Although I call this method of a JFreeChart-object its border is still visible.

I use jfreechart-1.0.1.jar, dated of 27-Jan-2006.

Thanx in advance for support.

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 » Wed Jun 21, 2006 11:00 am

The default is false anyway. The border (if drawn) goes outside everything including the chart title(s) and legend. I think the border you are referring to must be something else...
David Gilbert
JFreeChart Project Leader

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

Joey4u
Posts: 4
Joined: Mon Jun 19, 2006 5:35 pm

Post by Joey4u » Wed Jun 21, 2006 5:29 pm

Thanx David for your reply.

Yes, that is exactly the border I mean: The one which is outside of title, piechart, tooltips and legend.

How can I set its visibility to false?

Regards
Jochen

rbutta
Posts: 2
Joined: Wed Jul 19, 2006 6:18 am

Post by rbutta » Wed Jul 19, 2006 6:19 am

plot.setOutlinePaint(java.awt.Color.white);

forsey85
Posts: 17
Joined: Mon Jul 03, 2006 2:55 pm

Post by forsey85 » Wed Jul 19, 2006 9:15 am

or

plot.setOutlinePaint(new Color(0,0,0,0));

to set it as a transparent colour

Locked