For total spanking newbies reading this:
See Amy's code and also this simplified version
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_intro_7.html
stuff I didn't get that tripped me up-
1) You don't have to use the <mx:ColumnChart> at all - you can do
everything in AS instead. This is very confusing, because the call in AS
that actually creates the chart is
"addChild" as in
" // Attach chart and legend to the display list.
p1.addChild(myChart);
p1.addChild(legend1);"
My initial reaction is "yuck" but knowing nothing, its worth will likely
be revealed to me later.
2) use of the "child" method on XML objects, I need to practice this and
figure it out.
3) I was right, the bar charts just want an array of arrays for data,
but I lacked the tools to create that from the XML.
further comment welcome.
John