RE: [flexcoders] Re: Identifying line series for datatip function

2007-04-23 Thread Sunil Bannur
Try LineSeriesItem(h.chartItem).yValue

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Zhu Haifeng
Sent: Monday, April 23, 2007 10:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Identifying line series for datatip function

 

Hi I'm having the same problem here, but I still haven't figured out
how to deal with it.

After calling LineSeries(h.element).yField, I got the name of the data
series, which is great. But how do I then retrieve the y value of this
data series for the datatip?

For example, I get DATE after calling LineSeries(h.element).yField,
and the conventional way to display the y value in the datatip is to
do h.item.DATE. How do I attach DATE to h.item.?

Thanks a lot 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, yaagcur [EMAIL PROTECTED] wrote:

 Thanks v much
 That set me on the correct path
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , pasflex pswiss@ wrote:
 
  try
  trace (LineSeries(h.element).yField)
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , yaagcur agcur@ wrote:
  
   To elaborate I want to do something like
   
   public function dtFunc(h:HitData):String {
   
   trace (h.chartItem.element.yField);
   
   }
   but there is no property yField
   
   You used to be able to do
   obj.hitData.chartItem.element.yField
   
   but I think that is no longer available and the chartItemEvent
also
   has not proven the answer to date
   
   
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , yaagcur agcur@ wrote:
   
On a line chart with multiple series, I wish to have a datatip
function that differs according to which line is hit but I'm 
  having
difficulty identifying the property that would tell me that
Any help much appreciated
   
  
 


 



[flexcoders] Re: Identifying line series for datatip function

2007-04-22 Thread Zhu Haifeng
Hi I'm having the same problem here, but I still haven't figured out
how to deal with it.

After calling LineSeries(h.element).yField, I got the name of the data
series, which is great. But how do I then retrieve the y value of this
data series for the datatip?

For example, I get DATE after calling LineSeries(h.element).yField,
and the conventional way to display the y value in the datatip is to
do h.item.DATE. How do I attach DATE to h.item.?

Thanks a lot 


--- In flexcoders@yahoogroups.com, yaagcur [EMAIL PROTECTED] wrote:

 Thanks v much
 That set me on the correct path
 
 --- In flexcoders@yahoogroups.com, pasflex pswiss@ wrote:
 
  try
  trace (LineSeries(h.element).yField)
  
  --- In flexcoders@yahoogroups.com, yaagcur agcur@ wrote:
  
   To elaborate I want to do something like
   
   public function dtFunc(h:HitData):String {
 
 trace (h.chartItem.element.yField);
   
   }
   but there is no property yField
   
   You used to be able to do
   obj.hitData.chartItem.element.yField
   
   but I think that is no longer available and the chartItemEvent also
   has not proven the answer to date
   
   
   --- In flexcoders@yahoogroups.com, yaagcur agcur@ wrote:
   
On a line chart with multiple series, I wish to have a datatip
function that differs according to which line is hit but I'm 
  having
difficulty identifying the property that would tell me that
Any help much appreciated
   
  
 





[flexcoders] Re: Identifying line series for datatip function

2006-08-19 Thread yaagcur
Thanks v much
That set me on the correct path

--- In flexcoders@yahoogroups.com, pasflex [EMAIL PROTECTED] wrote:

 try
 trace (LineSeries(h.element).yField)
 
 --- In flexcoders@yahoogroups.com, yaagcur agcur@ wrote:
 
  To elaborate I want to do something like
  
  public function dtFunc(h:HitData):String {
  
  trace (h.chartItem.element.yField);
  
  }
  but there is no property yField
  
  You used to be able to do
  obj.hitData.chartItem.element.yField
  
  but I think that is no longer available and the chartItemEvent also
  has not proven the answer to date
  
  
  --- In flexcoders@yahoogroups.com, yaagcur agcur@ wrote:
  
   On a line chart with multiple series, I wish to have a datatip
   function that differs according to which line is hit but I'm 
 having
   difficulty identifying the property that would tell me that
   Any help much appreciated
  
 







--
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/
 




[flexcoders] Re: Identifying line series for datatip function

2006-08-18 Thread yaagcur
To elaborate I want to do something like

public function dtFunc(h:HitData):String {

trace (h.chartItem.element.yField);

}
but there is no property yField

You used to be able to do
obj.hitData.chartItem.element.yField

but I think that is no longer available and the chartItemEvent also
has not proven the answer to date


--- In flexcoders@yahoogroups.com, yaagcur [EMAIL PROTECTED] wrote:

 On a line chart with multiple series, I wish to have a datatip
 function that differs according to which line is hit but I'm having
 difficulty identifying the property that would tell me that
 Any help much appreciated







--
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/
 




[flexcoders] Re: Identifying line series for datatip function

2006-08-18 Thread pasflex
try
trace (LineSeries(h.element).yField)

--- In flexcoders@yahoogroups.com, yaagcur [EMAIL PROTECTED] wrote:

 To elaborate I want to do something like
 
 public function dtFunc(h:HitData):String {
   
   trace (h.chartItem.element.yField);
 
 }
 but there is no property yField
 
 You used to be able to do
 obj.hitData.chartItem.element.yField
 
 but I think that is no longer available and the chartItemEvent also
 has not proven the answer to date
 
 
 --- In flexcoders@yahoogroups.com, yaagcur agcur@ wrote:
 
  On a line chart with multiple series, I wish to have a datatip
  function that differs according to which line is hit but I'm 
having
  difficulty identifying the property that would tell me that
  Any help much appreciated
 








--
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/