get the following run time error when my mouse rolls over one of my charts:
ReferenceError: Error #1069: Property hitData not found on mx.charts.HitData 
and there is no default value.
at Chart1/::formatDataTip()
at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
at mx.charts::HitData/get displayText()
at mx.charts.chartClasses::DataTip/set data()
at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
at mx.charts.chartClasses::ChartBase/::processRollEvents()
at mx.charts.chartClasses::ChartBase/::mouseMoveHandler()

Here is the section of code i believe is causing the error:

private function formatDataTip(obj : Object) : String {
var name : String = obj.hitData.item.Publication;
var revenue:Number = obj.hitData.item.Size;


return "<b>Publication: "+name+"</b><br>Size: "+ revenue;
}

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to