Thanks! I also found this: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Book_Parts <http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe lp.htm?context=LiveDocs_Book_Parts&file=charts_intro_108_06.html> &file=charts_intro_108_06.html This is really cool. Pretty straightfoward too. Man! this opens up a lot of possiblities! thanks for your time! brad
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of rueter007 Sent: Monday, February 11, 2008 1:20 PM To: [email protected] Subject: [flexcoders] Re: AS3 Syntax for Adding to mx:series Array var chartSeries: Array = new Array(); var mySeries: LineSeries = new LineSeries(); mySeries.xFIeld = "blah"; mySeries.yField = "blah-blah" //set the other styles and properties on the series. ... chartSeries.push(mySeries); // set the series property on the chart. myChart.series = chartSeries. HTH. --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com, "Brad Bueche" <[EMAIL PROTECTED]> wrote: > > I have the following setup and I need to make it a little bit more > dynamic: > > <mx:series> > <mx:Array id="chart_series"> > <mx:LineSeries yfield="category1_value" displayName = "Other > CIX" /> > </mx:Array> > </mx:series> > > Actually I'd like to start with it blank > > <mx:series> > <mx:Array> > > </mx:Array > </mx:series> > > So I can build the whole series from sratch. > > > I got as far as: > > chart_series.push(" > > But that "LineSeries" is messing me up. Is "LineSeries" a string in the > array or what? > > What is the syntax for building this whole mx:Array-><mx:LineSeries> > out in as3? > > brad >

