how to define the size of a plot area?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
june
Posts: 7
Joined: Tue Jul 08, 2003 3:31 pm

how to define the size of a plot area?

Post by june » Fri Jul 11, 2003 12:03 pm

Any way to resize the plot area? e.g. a pie radius, a bar chart plot area?

Thank you.

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 » Fri Jul 11, 2003 2:02 pm

No. JFreeChart was designed to draw charts at arbitrary sizes, and it does this by first allocating space for the title(s), legend and axes...the plot area is just whatever is left after this. There are occasions when this is a limitation, but most of the time it works very well.
David Gilbert
JFreeChart Project Leader

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

richard

pie chart size

Post by richard » Thu Aug 21, 2003 10:16 pm

Since the chart size is determined automatically, how can I make sure the pie chart looks round? In my case it looks like oval.

Richard[/quote]

superjma
Posts: 8
Joined: Sat Jun 14, 2003 12:15 pm

Titles?

Post by superjma » Fri Aug 22, 2003 11:36 am

If JFreeChart is allocating space for the title(s) etc., why are some of my text missing?

I made a Pie3DChart which i saved as a Picture. The problem is that the Chart is that big, that the some of the text is outside the picture. Therefore you are only able to read some of the information.

Hope its possible to resize the chart so it fits the picture.(jpeg)

Locked