Matt, Thanks! This got me to the right place.
I'm using an array of Objects to feed the 100% bar chart that looks like: var SecDash_Data = [ {area: "Calendar", green:25, yellow:25, red:50}, {area: "Plan", green:5, yellow:15, red:80}, {area: "App", green:20, yellow:80, red:20}, {area: "ISSO", green:35, yellow:30, red:35}] 'area' holds the name of each Bar that will be displayed; 'green', 'yellow' and 'red contain the figures that are used to determine the length of each section of the bar. >From the dumps, it looks like hitData.item contains the data in the row corresponding to the bar that was clicked -- so contains an object with the keys 'area', 'green', 'yellow' and 'red' and their values. hitData.element contains a bunch of info, but included in it is: hitData.element.index: this contains the index to the item that was clicked. If the green section is clicked, it will contain "0"; if yellow, "1", etc. hitData.element.xField contains the name of the property that corresponds to the section clicked. So, if a green area is clicked, then it contains "green". d On 5/8/05, Matt Chotin <[EMAIL PROTECTED]> wrote: > > > > The HitData should have all the info you need. The "item" is the actual > item that is being clicked and the "element" I think will be the series that > you're clicking on. > > > > ________________________________ > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of David Aden > Sent: Sunday, May 08, 2005 6:20 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Using HitCount with a 100% BarChart > > > > > I'm using a 100% BarChart and have three different values stacked > into each bar. > > I'm using the mouseClickData event when someone clicks on one of the > sections of a bar and am getting HitData back with the event, but I'm > not sure how to find out which of the three items in the bar was > clicked. > > I know the data must be available because the ToolTip knows what has > been moused over -- anyone have a quick suggestion on how to determine > exactly what was clicked? > > thanks! > > d > > > ________________________________ > 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 the Yahoo! Terms of Service. -- ---------------------------------- David Aden Webworld Technologies 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/