renderer.setOutlineStroke(....)

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
tatia34
Posts: 23
Joined: Fri Apr 27, 2007 2:11 pm
Location: France

renderer.setOutlineStroke(....)

Post by tatia34 » Tue Jun 12, 2007 11:36 am

hi,

I try to increase the size of the border of my barChart.... but the Stroke is only increase on the legend and not on the chart... :
Image

I use the method :

Code: Select all

renderer.setSeriesOutlineStroke(numSerie, new BasicStroke(3,BasicStroke.JOIN_ROUND,BasicStroke.JOIN_ROUND));
Is there a bug ?

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 » Tue Jun 12, 2007 2:43 pm

It looks like a bug, but I can't reproduce it. What version of JFreeChart are you using? If it isn't the latest, give that a try and let me know if you get the same bug.
David Gilbert
JFreeChart Project Leader

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

tatia34
Posts: 23
Joined: Fri Apr 27, 2007 2:11 pm
Location: France

Post by tatia34 » Fri Jun 22, 2007 2:23 pm

I use the last version of JFreeChart, but my renderer is a customRenderer... So it can be the solution :lol:
Where is the border drawing managed ? It is possible that I have forgot or replace the line of code...

Locked