I have, what should be, a very simple need. I am using an mxml module basedf on a Panel. The basic jist is I have the state determined by a var passed, with a value of Pie or Bar, which I use a the default state. On creationComplete I execute the remote object and pass it to either the Pie chart state or the Bar chart state. I don't get any error's, it's just blank. Here is the code. I've poked around and made a lot of changes trying to debug it, so just ignore any wierdness. The pie chart is duped in the bar state just to make the bar chart wasn't causing the issue.
Thanks for the input but no go, it leaves me with the same issue. From my poking around and changing things up this is basically what happens: If I remove the states altogether, the remote obejct and chart works fine. If I remove the pie chart and just leave the date range in the state, it works fine. So, in a nutshell, it is only when I use states and add the pie chart does it not render anything, including the <mx:text> to show the date range...help?
Turns out you were correct. When I tried data binding the first time, I screwed it up. After much frustration, I went back to the binding issue and found my mistake so thanks very much, it is finally working.