--- In [email protected], "Michael VanDaniker" <[EMAIL PROTECTED]> 
wrote:
>
> The docs have the usage. In short, the item is the object from your
> collection you want to operate on and the fieldName is the field the
> chart wants to know about.  In your case you would have something like
> this:
> 
> public function myDataFunction(series:Series, item:Object,
> fieldName:String):Object {
>           if(fieldName == "key")
>               return(turnYourKeyIntoADate(item));
>           else if(fieldName == "value")
>               return(item.value);
>           else
>               return null;
>      }     

There's a working example here
http://flexdiary.blogspot.com/2008/08/charting-example.html

Reply via email to