Use a DateTimeAxis, and set the labelInterval to months. Ely. ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mr19 Sent: Thursday, March 29, 2007 9:01 AM To: [email protected] Subject: [flexcoders] LineChart gridlines & labels with daily data I have a linechart that contains daily price data. I'd like the gridlines to ONLY appear on the 1st day of the month and the labels to only display under the gridlines. I still want all datapoints on the chart, just want to eliminate some of the clutter on the screen. Thanks in advance. As of right now I have something like this: <mx:LineChart dataProvider="{asdf}"> <mx:backgroundElements> <mx:GridLines direction="both"/> </mx:backgroundElements> <mx:series> <mx:LineSeries yField="price"/> </mx:series> <mx:horizontalAxis> <mx:CategoryAxis categoryField="date"/> </mx:horizontalAxis> <mx:verticalAxis> <mx:LinearAxis baseAtZero="false"/> </mx:verticalAxis> <mx:horizontalAxisRenderer> <mx:AxisRenderer tickPlacement="none" labelRotation="90" canDropLabels="true" canStagger="true"/> </mx:horizonatalAxisRenderer> </mx:LineChart> -- View this message in context: http://www.nabble.com/LineChart-gridlines---labels-with-daily-data-tf348 7290.html#a9736750 <http://www.nabble.com/LineChart-gridlines---labels-with-daily-data-tf34 87290.html#a9736750> Sent from the FlexCoders mailing list archive at Nabble.com.

