That's right. Ely. [esg] ________________________________
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vigen2000 Sent: Friday, January 05, 2007 4:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be always orange Hi Ely, thank you very much for your reply. so if i understand correctly, if i take your perColumnColor example and i want the dataTip to have the correct color of the column, i need to extend the series class and override the findDataTip function, and return the hitdata object with the right color? thanks, vigen --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > Hi Vigen. The color used by the datatip is defined by the series, in > the hitData structure returned from the findDataPoints() method. This > method is called by the chart to decide what datatips to show and how to > show it. If you want to change the hilight color, you'll need to > override the findDataPoints() method of your series. > > (Or create a new custom datatip). > > Ely. > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of vigen2000 > Sent: Thursday, January 04, 2007 1:40 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Ely's example of ItemRenderer cause tooltip to be > always orange > > > > Hi, > > im trying to make something similar to Ely's example of the > itemRenderer of chart series, like the PerColumnFill (PerColumnColor) > class. the problem is that if u add tooltip to the chart (showDataTip > = true) they are always in orange. any ideas on how to solve this? > > help... > Vigen >