How to set Maximum Box width for BoxWhisker chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
utkarsh
Posts: 2
Joined: Fri Oct 03, 2003 8:29 pm
Location: Phoenix

How to set Maximum Box width for BoxWhisker chart

Post by utkarsh » Wed Jun 09, 2004 7:59 pm

I would like to set maximum box width. I was using the setBoxWidth() method as a quickfix with 0.9.15. But I was not able to find its replacement in 0.9.20. Let me know if you know any such replacement.

tbardzil

Post by tbardzil » Thu Jun 10, 2004 4:28 am

I had the same problem as you. Now (0.9.20) I am subclassing the renderer and overriding the initialise() method, first calling super.initalise() and then manually setting the box width on the returned CategoryItemRendererState.

Tim

Locked