Im receiving the following run time error when the 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 a 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;
        }


Any help would be greatly appreciated

Thanks
Josh
[EMAIL PROTECTED]

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/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