It's Okay I worked it out.
Turns out that the new release of JBOSS doesn't function very well
with flex 1.5!!!!!!!!!!!!! I kept getting memory errors and property
value errors.
I installed Tomcat 4.1 and voila:
<mx:Panel width="100%">
<mx:ColumnChart id="chart" dataProvider="{vos.getTestVOs.result}"
width="100%" height="100%" showDataTips="true" >
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{vos.getTestVOs.result}"
categoryField="name" />
</mx:horizontalAxis>
<mx:series>
<mx:Array>
<mx:LineSeries yField="today" name="Today" />
<mx:LineSeries yField="total" name="Total"/>
</mx:Array>
</mx:series>
</mx:ColumnChart>
</mx:Panel>
Easy as that!
Cheers
--- In [email protected], "digital_eyezed"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Whats the easiest way to fill a basic line chart from an array of
> value objects passed back from a remoteobject call?
>
> The array contains value objects which themselves contain a String
> (for the label) and two numeric values. Do I have to rip through
the
> array and fill an xml model?
>
> The same data also fills a data grid which works fine:
>
> <mx:DataGrid id="myDataGrid"
dataProvider="{remote.getData.result}"
> width="100%">
> <mx:columns>
> <mx:Array>
> <mx:DataGridColumn columnName="name" headerText="Name" />
> <mx:DataGridColumn columnName="total" headerText="Total" />
> <mx:DataGridColumn columnName="today" headerText="Today" />
> </mx:Array>
> </mx:columns>
>
> Thanks in advance.
>
>
> </mx:DataGrid>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/