I'm using and xml through and HTTP service. The xml looks like this:

<data>
<month hidden_name="20051" label="January" vol="12">
  <payorname label="ABD Co." vol="9" /> 
  <payorname label="ABD Comp." vol="3" /> 
</month>
<month hidden_name="20052" label="February" vol="13">
  <payorname label="ABD Co." vol="13" /> 
</month>
<month hidden_name="20053" label="March" vol="13">
  <payorname label="ABD Co." vol="10" /> 
  <payorname label="ABD Comp." vol="3" /> 
</month>
<month hidden_name="20054" label="April" vol="15">
  <payorname label="ABD Co." vol="15" /> 
</month>
</data>

I need to make a Column chart with 2 series, one for each of the 
payorname tags. I saw examples over the web about how to make series, 
but ther usually "hardcode" the series ids, ie:

<mx:series>
    <mx:ColumnSeries yField="Widgets" />
    <mx:ColumnSeries yField="Blinkies" />
</mx:series> 

and that's not use to me since I need to make the series dynamic (in 
the future, they could add more payornames to this same XML.
I can't find a useful tutorial, hopw anyone can help me out with some 
tips!

Thanks a lot!,
-g 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to