Can I define this better? Anybody got an idea?
john fisher wrote:
## This does not work:
simpleData = new ArrayCollection([]);
var st:String = new String();
#left out the loops here for clarity#
);
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: john fisher j...@jpfisher.net
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creating an ArrayCollection object for
charting
Date: Thu, 08 Jan 2009 15:28:37 -0800
Can
Thanks Maciek... I actually started that way, but it failed. I'll try
again and post if I can't get it to work.
Maciek Sakrejda wrote:
It looks like you're creating a String that looks like the code for the
object (i.e., { foo: 'bar' }), and then casting that to Object. That
won't do what you
Bless you! this is the syntax I didn't get-
and behold, it works!
excellent.
Maciek Sakrejda wrote:
then inside that loop, for each property you want to graph:
currItem[element.name()] = element.valueOf();
I am feeding data to a chart from an arraycollection. When I test it by
using a literal to create the data object the chart works fine, but when
I assemble the data piece by piece, the chart fails. A correction of my
syntax would be great, and explanation even better!
I have tried creating an
5 matches
Mail list logo