I am using ArrayCollection only.
var
yearInfoList = journalsInChart.getItemAt(i).yearInfoList;
isCoverageGapExist = journalsInChart.getItemAt(i).isCoverageGap;
tempCitationsSeries.displayName = journalsInChart.getItemAt(i).source;
tempCitationsSeries.dataProvider = yearInfoList;tempCitationsSeries.filterData 
= true;
tempCitationsSeries.interpolateValues = 
tempCitationsSeries.xField = 
tempCitationsSeries.yField = yField;
Helper.styleComponent(tempCitationsSeries, i);
chartSeries.push(tempCitationsSeries);
}
chart.series = chartSeries;
 
yearInfoList is the ArrayCollection."chart" is the ID for LInechart ( 
id="chart" showDataTips="true" dataTipFunction="cTips" width="100%" 
height="100%"> )
<mx:LineChart
I set the filterData property also.
 undefined value is getting plotted in graph.
 yearInfoList:ArrayCollection;for(vari:int=0; i<journalsInChart.length; i++) 
{vartempCitationsSeries:LineSeries = newLineSeries; false;"Year";
  

________________________________

From: Alexander Tarelkin <[email protected]>
To: [email protected]
Sent: Sunday, September 6, 2009 12:42:58 PM
Subject: Re: [flexcoders] LineSeries in LineChart

I am sorry/ I missed that you have already tried this. Why don't you want to 
wrap the collection with an ArrayCollection if it works?


On Sun, Sep 6, 2009 at 8:39 PM, Alexander Tarelkin <alexander.tarelkin@ 
gmail.com> wrote:

Types inherited from Series including LineSeries have a filterData property. 
Hopefully this is all you need. 
>
>
>
>On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh <ram_y...@yahoo. co.in> wrote:
>
>  
>>Hi
>>    How to block/restrict  undefined value or null value in Lineseries before 
>>plotted into Chart.
>>I tried all the scenarios.The issue is not consistent. If the Data object is 
>>not in ArrayCollection ,  "undefined" is getting plotted in the Chart.
>>The Data point in the Chart is in "0" position of the Axis if the value is 
>>undefined.
>>Please help me .I am relly sturggling to come out from this issue. 3 days I 
>>tried in all the scenarion like filteData = true setting and all.
>>Please Response ASAP that  would be very helpful.
>>
>>Thanks
>>Ramesh
>>
>>
>>
>




      

Reply via email to