This content has been marked as final. Show 4 replies
private function updateCDDChart(event:ResultEvent):void
CDDchart.dataProvider = event.result.getCDDDataResult;
dataProvider is a property, not a function. Hence the error message.
Thanks oddsy, this fixed my error. I'm still not seeing anything on the chart. I'm not sure that I have my series and axis correct. do you see anything wrong with that?
Just a quick note - when referring to fields retrieved via web services, type them in UPPER CASE. That may not fix your problem, but you should get into a habit of doing that anyway.
Should have spotted this last time. Try using event.lastResult.getCDDDataResult.
I am presuming that updateCDDChart is being called as the result of an HTTPService.
EDIT: No, that won't work. You use lastResult when using HTTPService a different way. Not entirely sure what your problem is at the moment. I'll maybe get a chance to look more closely this evening.