Are you trying to align the gridlines, or align the axes?
 
The short answer is no.  There's no general way to force the chart to
align a horizontal and secondary horizontal axis (with the asumption,
perhaps wrong, being that the reason you're using secodary axes in the
first place is because the data is unrelated).  If you have the same
number of values in the horizontal and second horizontal axes, you could
explicitly set the gutterLeft and gutterRight on the chart, which would
make the two axes line up, at the expense of some auto-layout
functionality.
 
Ely.
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of mgrayfmr
Sent: Monday, February 26, 2007 8:46 AM
To: [email protected]
Subject: [flexcoders] How to align identical CategoryAxis as
HorizontalAxis and SecondHorizontalAxis



Help Ely (or anyone who knows) !!!

I'm having trouble with the data being displayed in a LineChart.
I have same data in a horizontal and secondhorizontal category axis. 
I am also displaying vertical gridlines using the backgroundElements 
property. What is happening is that the spacing is different for the 
bottom and top axis. The bottom axis is fine but the top is spacing 
the interval differently than the bottom axis. The gridlines are 
aligne with the top axis interval. Basically, I end up with data in 
each series that don't match up because they align to two different 
axises. Is there a way to control how Flex sets the divlines ? I have 
tried creating a sub-class of Category axis, but nothing seems to be 
of help.
I have managed to get the top axis labels to display in the correct 
spacing, but this does not change the actual plot points on the 
gridlines.

Any help would be appreciated !!!



 

Reply via email to