[flexcoders] hitTestObject on ChartElements
Hey,I'm trying to write an annotationLayer for Charts in which I can run a hitTestObject call for the individual chart elements... eg. Columns, data points, etc...I've been digging through the docs, and tracing out the generated objects, but haven't had any luck finding a way to access the DisplayObject instances that make up the Chart. I'm sure it's staring me straight in the face... any help?Thanks,Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] hitTestObject on ChartElements
I'm doing similar digging at the moment- what are you trying to find? so a rollover event on a chart (or mouseup or whatever) sends a ChartItemEventthat has a hitData property (also hitSet which is an array of hitDatas) when you're at hitData you can get everything you need from there on in...hthPBHOn 8/10/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey,I'm trying to write an annotationLayer for Charts in which I can run a hitTestObject call for the individual chart elements... eg. Columns, data points, etc...I've been digging through the docs, and tracing out the generated objects, but haven't had any luck finding a way to access the DisplayObject instances that make up the Chart. I'm sure it's staring me straight in the face... any help?Thanks,Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] hitTestObject on ChartElements
Hey Paul,I needed to gather the elements without the benefit of the HitData object, but managed to find them going through the chart.series property and calling a getChildAt for each index of the dataProvider... Thanks,BrendanOn 8/10/06, Paul BH [EMAIL PROTECTED] wrote: I'm doing similar digging at the moment- what are you trying to find? so a rollover event on a chart (or mouseup or whatever) sends a ChartItemEventthat has a hitData property (also hitSet which is an array of hitDatas) when you're at hitData you can get everything you need from there on in...hthPBHOn 8/10/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey,I'm trying to write an annotationLayer for Charts in which I can run a hitTestObject call for the individual chart elements... eg. Columns, data points, etc...I've been digging through the docs, and tracing out the generated objects, but haven't had any luck finding a way to access the DisplayObject instances that make up the Chart. I'm sure it's staring me straight in the face... any help?Thanks,Brendan __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___