spiderweb more opaque

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
asd
Posts: 19
Joined: Tue Sep 26, 2006 11:28 pm

spiderweb more opaque

Post by asd » Fri Aug 08, 2008 1:44 pm

Hi everybody!

I need to fill the spiderweb with a "more opaque" color. I am using black right now, and it is still too transparent for the client's taste.

Any suggestions?

Thanks.

asd
Posts: 19
Joined: Tue Sep 26, 2006 11:28 pm

Post by asd » Fri Aug 08, 2008 8:26 pm

I found the solution, if you replace SpiderWebPlot.java with this class:

http://personel.obec.go.th/News/index.p ... NjU0OTQ%3D

Then you can set the spiderweb opacity with this method:

plot.setFillAlpha(0.2f);

Cheers.

Locked