you got to be frinkin kindding me... and extra zero .. I've been looking at 
this for almost 2 hours... one little fat finger.. an extra zero and nutso ... 

Thanks for the good eye... 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

----- Original Message ----- 
From: "Maciek Sakrejda" <msakre...@truviso.com> 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, January 28, 2009 11:52:42 AM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Charting puzzle? 






In LD_minutes, you have a data point with used: 48060 (> 6000). When you set a 
max, values larger than that are not plotted (questionable, and a decision that 
makes issues like this really hard to diagnose, but not entirely crazy). 

-Maciek 

-----Original Message----- 
From: flexcoders@yahoogroups.com on behalf of Eric Dunn 
Sent: Wed 1/28/2009 9:21 AM 
To: flexcoders 
Subject: [flexcoders] Charting puzzle? 

I am trying to build a chart to display the Long Distance used out of total 
allocated minutes. 
I have a Bar Chart and an array. If I want to display the minutes used without 
showing the total minutes, everything is fine and dandy. But when I add the 
mx:LinearAxis maximum = 6000 line, the chart does not populate. 
What am I missing? 
Here is the code: 

[Bindable] 
public var LD_minutes:ArrayCollection = new ArrayCollection([ 
{longDistance:"minutes Used", used:48060} 
]); 

<mx:Panel title="Bar Chart" y="567" x="29" height="368" width="901"> 
<mx:BarChart id="myChart" dataProvider="{LD_minutes}" showDataTips="true" 
height="245" width="799"> 
<mx:verticalAxis> 
<mx:CategoryAxis dataProvider="{LD_minutes}" categoryField="longDistance" /> 
</mx:verticalAxis> 
<mx:horizontalAxis> 
<mx:LinearAxis maximum="6000"/> 
</mx:horizontalAxis> 
<mx:series> 
<mx:BarSeries yField="longDistance" xField="used" displayName="minutes used"/> 
</mx:series> 
</mx:BarChart> 
</mx:Panel> 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

Reply via email to