gap between plotArea&chartpanel boundary+description on

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Harry Plotter ;-)
Posts: 12
Joined: Thu Aug 04, 2005 2:56 pm
Location: Oldenburg - Germany

gap between plotArea&chartpanel boundary+description on

Post by Harry Plotter ;-) » Fri Sep 09, 2005 10:16 am

Is it possible to set a fixed distance between the plotArea and the chartPanel boundaries?

furthermore, is it possible to place some descriptions or notes in terms of a JTextField on the chart?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: gap between plotArea&chartpanel boundary+description

Post by david.gilbert » Fri Sep 09, 2005 1:35 pm

Harry Plotter wrote:Is it possible to set a fixed distance between the plotArea and the chartPanel boundaries?
No, because the plot area is whatever is left after the chart title, legend and axis labels have been placed.
Harry Plotter wrote:furthermore, is it possible to place some descriptions or notes in terms of a JTextField on the chart?
It is not possible to add Swing components to the charts. You can add an annotation to the chart though, for example XYTextAnnotation.
David Gilbert
JFreeChart Project Leader

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

Locked