[flexcoders] Re: Problem with LineChart - Flex 2 Beta 3

2006-05-24 Thread pasflex



Thanks Ely, that'll work for now.

--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> 
wrote:
>
> 
> 
> 
> You're tripping over some of the conversion rules AS3 has 
inherited (by necessity) from EcmaScript. The LineSeries can 
correctly render missing data, but unfortunately the XML API never 
reports the data as missing, only as an empty stringwhich 
converts to the numeric value 0.
> 
> The bug has been logged, but if you want to work around it in the 
meantime, any non-numeric value will get interpreted as bad data and 
stripped out of the data set.
> 
> i.e., turn soemthing like this:
> 
> 
>   
>   12
> 
> 
> Into this:
> 
> 
>   junk
>   junk
>   12
> 
> 
> 
> Ely.
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of pasflex
> Sent: Wednesday, May 24, 2006 11:09 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Problem with LineChart - Flex 2 Beta 3
> 
> Any ideas on this?
> I've tried setting filterData to true on the lineseries (should be 
by default anyhow) but it still seems to try to plot these null 
values.
> Thanks.
> 
> --- In flexcoders@yahoogroups.com, "pasflex"  wrote:
> >
> > We are populating a line chart with some data returned from an 
> > HTTPService.  The data is xml which flex parses to an object 
> > (resultFormat='object').  For some of the LineSeries the data is
> not 
> > contiguous.  The problem is that the chart is still drawing 
these 
> > missing datapoints.  It draws them at 0, although the datatips
> show 
> > no value for them.  We have tried returning an empty tag or
> leaving 
> > the tag out completely but the points still show up.  Here's 
some 
> > sample code that demonstrates the issue without using the 
HTTPService.
> > Any ideas?
> > 
> > 
> > http://www.adobe.com/2006/mxml">
> > 
> >   
> > 
> > 
> > 
> showDataTips="true">
> >       
> >         
> >           
> >           
> >         
> >             
> > 
> > 
> > 
> >
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
~--> Everything you need is one click away.  Make Yahoo! your home 
page now.
> http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
> ---
-~-> 
> 
> --
> 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
>











--
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] Re: Problem with LineChart - Flex 2 Beta 3

2006-05-24 Thread Ely Greenfield






You're tripping over some of the conversion rules AS3 has inherited (by necessity) from EcmaScript. The LineSeries can correctly render missing data, but unfortunately the XML API never reports the data as missing, only as an empty stringwhich converts to the numeric value 0.

The bug has been logged, but if you want to work around it in the meantime, any non-numeric value will get interpreted as bad data and stripped out of the data set.

i.e., turn soemthing like this:


  
  12


Into this:


  junk
  junk
  12



Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pasflex
Sent: Wednesday, May 24, 2006 11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problem with LineChart - Flex 2 Beta 3

Any ideas on this?
I've tried setting filterData to true on the lineseries (should be by default anyhow) but it still seems to try to plot these null values.
Thanks.

--- In flexcoders@yahoogroups.com, "pasflex" <[EMAIL PROTECTED]> wrote:
>
> We are populating a line chart with some data returned from an 
> HTTPService.  The data is xml which flex parses to an object 
> (resultFormat='object').  For some of the LineSeries the data is
not 
> contiguous.  The problem is that the chart is still drawing these 
> missing datapoints.  It draws them at 0, although the datatips
show 
> no value for them.  We have tried returning an empty tag or
leaving 
> the tag out completely but the points still show up.  Here's some 
> sample code that demonstrates the issue without using the HTTPService.
> Any ideas?
> 
> 
> http://www.adobe.com/2006/mxml">
> 
>   
> 
> 
> 
showDataTips="true">
>       
>         
>           
>           
>         
>             
> 
> 
> 
>






 Yahoo! Groups Sponsor ~--> Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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



 








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



  












[flexcoders] Re: Problem with LineChart - Flex 2 Beta 3

2006-05-24 Thread pasflex



Any ideas on this?
I've tried setting filterData to true on the lineseries (should be 
by default anyhow) but it still seems to try to plot these null 
values.
Thanks.

--- In flexcoders@yahoogroups.com, "pasflex" <[EMAIL PROTECTED]> wrote:
>
> We are populating a line chart with some data returned from an 
> HTTPService.  The data is xml which flex parses to an object 
> (resultFormat='object').  For some of the LineSeries the data is 
not 
> contiguous.  The problem is that the chart is still drawing these 
> missing datapoints.  It draws them at 0, although the datatips 
show 
> no value for them.  We have tried returning an empty tag or 
leaving 
> the tag out completely but the points still show up.  Here's some 
> sample code that demonstrates the issue without using the 
> HTTPService.
> Any ideas?
> 
> 
> http://www.adobe.com/2006/mxml">
> 
>   
> 
> 
> 
showDataTips="true">
>       
>         
>           
>           
>         
>             
> 
> 
> 
>










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