To draw into the data area of the chart, you'll need to wite a custom
chart element. See my numerous posts on the subject to this list, or
some of the examples at http://www.quietlyscheming.com/
 
 
For the region of the chart...By default, a chart takes the space given
to it by its parent, subtracts out the space needed for the optimal
layout and size for the axis labels, and uses the remaining space for
the data area.  If you're seeing fluctuations in the space used by the
data, it's most likely due to fluctuations in the range of your
data...i.e., if it starts at 0-80, then goes to 0-120, it's going to
take a little more space for the extra digit on the labels.
 
The area used by the axes is called the 'gutter' in chart terminology.
While the chart calculates these on its own by default, you can assign
explicit values for some or all of the chart gutters. When you do that,
the chart will do its best to fit the labels in the gutter sizes
specified. Specify all four gutter size, and you've effectively locked
in a size for the data area (given a fixed size for the whole chart).
 
 
So checkout the gutterLeft, gutterTop, etc. styles.
 
 
Ely.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of polonycjunk
Sent: Thursday, November 30, 2006 7:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Charting Questions



Hi,

I would like to add borders to the inside rectangular region of the
charts. Would anyone know how to accomplish this task? I am able to
modify the gridLines inside the chart, modify the thickness of the
horizontal and vertical axis, but can't seem to find a way to put
borders along the 4 axes. 

Also, how can you specify a fixed length of the rectangular region in
the chart? It looks the size of this area fluctuates a tiny bit when
working with real-time charts.

Thanks for any input provided. 



 

Reply via email to