Add the following right after your code:
<mx:horizontalAxisRenderers>
<mx:AxisRenderer
axis =
"{monthLabels}"
labelRotation = "45"
/>
</mx:horizontalAxisRenderers>
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE 68154
<http://www.cfwebtools.com> http://www.cfwebtools.com
402-408-3733 x103
From: [email protected] [mailto:[email protected]] On
Behalf Of inevative
Sent: Friday, June 19, 2009 3:22 AM
To: [email protected]
Subject: [flexcoders] Charting questions
Hey peeps....Just looking for some help with some charting related tasks.
- Can you rotate the axis labels on a LineChart? All the examples i have
used seem to work fine on BarChart but not on LineChart
- Consider the following...
<mx:horizontalAxis>
<mx:DateTimeAxis dataUnits="days"
interval="1"
title="Date"
displayLocalTime="true"
parseFunction="parseDate"
id="monthLabels" />
</mx:horizontalAxis>
Is it possible to specify the number of axis points and labels? Using the
DateTimeAxis is seems to just try and work out where to plot them but i want
to specify at what intervals to put markers.
- Is it possible to get the color value of a chart line or legend marker? I
want to use the colors for something else and need them to match (other than
specifying my own colors).
Thanks for any help you can give..
Steve
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.80/2187 - Release Date: 06/19/09
06:53:00