Couldn't reproduce your problem here at my machine, it's works.

On 10/26/06, Chris <[EMAIL PROTECTED]> wrote:


Hello -

Thanks for taking the time to read this posting. I have found an issue with BarChart performance. I
f this problem is already known please guide me to a bug # so that I can track the issue.

I have found that if I am charting quantities in the thousands and tens of thousands value range *and* I set a minimum y-axis value, performance is horrible. If I remove the minimum value, performance is just fine.

I definitely need the minimum value functionality in order to display the data properly because with out the minimum value set, the lower value bar chart column appears to be zero.

The sample application below is an example of poor performance.

thank you
-chris



<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " layout="absolute"  xmlns="*">
  <mx:Script>
   <![CDATA[
[Bindable] private var dataSource:XML =
<root>
    <level x="1001" y="Chris Services">
      <DataSet DisplayTitle="Customer" AmountDataType="Numeric">
        <PlotValue Period="2006-04-21 11:41:13" Amount="42330"/>
        <PlotValue Period="2006-04-22 11:41:13" Amount="47338"/>
        <PlotValue Period="2006-04-23 11:41:13" Amount="42279"/>
        <PlotValue Period="2006-04-24 11:41:13" Amount="48336"/>
        <PlotValue Period="2006-04-25 11:41:13" Amount="54334"/>
        <PlotValue Period="2006-04-26 11:41:13" Amount="53222"/>
       </DataSet>       
     </level>
</root>;       


    ]]>
   
    </mx:Script>
   
    <mx:BarChart id="barchart" height="80%" width="80%"
       visible="true" showDataTips="true"          
       dataProvider="{this.dataSource.level.DataSet.PlotValue }">
       <mx:horizontalAxis>
           <mx:CategoryAxis categoryField="@Period"/>
       </mx:horizontalAxis>
       <mx:series>
           <mx:ColumnSeries id="columnSeries" yField="@Amount"/>
       </mx:series>
       <mx:verticalAxis>
           <mx:LinearAxis minimum="0" interval="1"/>
       </mx:verticalAxis>
   </mx:BarChart>
</mx:Application>




--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to