BarChart is too small

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hank
Posts: 31
Joined: Mon May 12, 2003 10:02 am
Location: Lake of Constance, Germany

BarChart is too small

Post by hank » Tue Aug 03, 2004 2:12 pm

Hi,

I'm using XYBarRenderer after adding some bar charts to my chart with a TimeAxis.
As I understood is the parameter margin for describing how much space has to be on both sides for a barchart for the period of one day.

If there are a couple of days, it looks quite good for one or two bar charts.
But if I have a period of approx. 180days (half a year) the bar charts almost disappear becaus they are so thin.

How would I have them in a fixed width in the chart independent of the amount of days the chart is showing? I.e. in percentage of the axis.getLenght() or something else?

Thanks and cheers

Heinrich

Locked