I'm trying to get a pie chart which automatically refreshes
and gets new data from a webservice. Currently, we just have a
sample webservice which spits out a random array of numbers. I can
get the chart to display these, but not to refresh itself. I found
a code online for an auto-refreshing clock, but can't seem to plug
in my own data to get it to work. Currently, it displays the
initial chart, then after the set time (in this case 2 seconds), it
disappears and will not return. <flexed: autorefresher refers to
the actionscript file.
I'd appreciate any help, as I've just recently started
learning flex, and don't have a lot of coding experience.
Here is the code: