[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-02-03 Thread Greg Groves
Thanks, Amy, that's what I ended up doing. Not too hard, but it does
seem to me I should be able to access the child nodes through the
dotted E4X syntax... maybe a feature request for future Flex
releases... :-)

Thanks again,

Greg

 --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Greg Groves greg.groves@ 
 wrote:
 
  Thanks, I'll look at that. I was hoping for an MXML solution (mainly
  so I don't have to explain it as much ;-) ) but if ActionScript is
  necessary, so be it.
 
 The dataFunction has to be done in AS.  I think most of the rest you 
 can translate to MXML.  I just did the example that way because people 
 were complaining there wasn't a good example of doing it in as only.
 
 HTH;
 
 Amy





[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-31 Thread Amy
--- In flexcoders@yahoogroups.com, Greg Groves greg.gro...@... 
wrote:

 Thanks, I'll look at that. I was hoping for an MXML solution (mainly
 so I don't have to explain it as much ;-) ) but if ActionScript is
 necessary, so be it.

The dataFunction has to be done in AS.  I think most of the rest you 
can translate to MXML.  I just did the example that way because people 
were complaining there wasn't a good example of doing it in as only.

HTH;

Amy



[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Greg Groves greg.gro...@... 
wrote:

 Hi all,
 
 I'm trying to use an XML document as the dataprovider for a chart and
 not able to make it work. A test case follows...
...
 thanks for any help,

You may or may not find this useful:
http://flexdiary.blogspot.com/2008/08/charting-example.html



[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread valdhor
or this:

http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a-flex-linechart-control/


--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Greg Groves greg.groves@ 
 wrote:
 
  Hi all,
  
  I'm trying to use an XML document as the dataprovider for a chart and
  not able to make it work. A test case follows...
 ...
  thanks for any help,
 
 You may or may not find this useful:
 http://flexdiary.blogspot.com/2008/08/charting-example.html





[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Greg Groves
Thanks, I'll look at that. I was hoping for an MXML solution (mainly
so I don't have to explain it as much ;-) ) but if ActionScript is
necessary, so be it.

thanks,

Greg

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Greg Groves greg.groves@ 
 wrote:
 
  Hi all,
  
  I'm trying to use an XML document as the dataprovider for a chart and
  not able to make it work. A test case follows...
 ...
  thanks for any help,
 
 You may or may not find this useful:
 http://flexdiary.blogspot.com/2008/08/charting-example.html





[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Greg Groves
I saw that one while googling for an answer. The problem is, it deals
with attributes but not child nodes, and that's where I'm having
problems. Thanks anyway.

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 or this:
 

http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a-flex-linechart-control/
 
 
 --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.com, Greg Groves greg.groves@ 
  wrote:
  
   Hi all,
   
   I'm trying to use an XML document as the dataprovider for a
chart and
   not able to make it work. A test case follows...
  ...
   thanks for any help,
  
  You may or may not find this useful:
  http://flexdiary.blogspot.com/2008/08/charting-example.html
 





RE: [flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Tracy Spratt
I don't do much charting, but generally Flex treats attributes and child
nodes both as top-level properties of an item, like with labelField or
dataField.  Eitehr can access attrabutes or the text() value of child
nodes.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Greg Groves
Sent: Friday, January 30, 2009 3:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Accessing XML child nodes in a LineChart

 

I saw that one while googling for an answer. The problem is, it deals
with attributes but not child nodes, and that's where I'm having
problems. Thanks anyway.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, valdhor valdhorli...@... wrote:

 or this:
 

http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a-flex-
linechart-control/
http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a-flex
-linechart-control/ 
 
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Amy amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Greg Groves greg.groves@ 
  wrote:
  
   Hi all,
   
   I'm trying to use an XML document as the dataprovider for a
chart and
   not able to make it work. A test case follows...
  ...
   thanks for any help,
  
  You may or may not find this useful:
  http://flexdiary.blogspot.com/2008/08/charting-example.html
http://flexdiary.blogspot.com/2008/08/charting-example.html