Hmm, still sounds like 14000 to me. If you make only one row visible, is performance acceptable?
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava Sent: Wednesday, April 11, 2007 8:33 PM To: [EMAIL PROTECTED] Subject: Re: [flexcomponents] please help! timeout error with large data? it's not like 14000 points. I have seven rows in the datagrid with each row having a linechart in one cell,and each line chart is to be plotted for 2000 values. problem comes only when i use itemrenderer to display circles also. ----- Original Message ---- From: Alex Harui <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 2:18:25 AM Subject: RE: [flexcomponents] please help! timeout error with large data? 7 rows of 2000 is 14000 points. That's quite a bit. Do they all have to change at once? ________________________________ From: flexcomponents@ yahoogroups. com [mailto:flexcompone [EMAIL PROTECTED] com] On Behalf Of arpan srivastava Sent: Wednesday, April 11, 2007 8:09 AM To: flexcomponents@ yahoogroups. com Subject: Re: [flexcomponents] please help! timeout error with large data? i figured out whats the cause of timeout error but not able to find a solution. in my itemrenderer for the datagrid i am constructing linechart with a CircleItemRenderer and this takes lot of time . If i don't use any itemrenderer then it works fine, but i need a linechart with points. Is there anyway i can make circle after making linechart? // Add a lineSeries lineS = new LineSeries() ; lineS.setStyle( "lineStroke" ,lineStroke) ; lineS.setStyle( "form","segment" ); lineS.setStyle( "itemRenderer" ,new ClassFactory( CircleItemRender er)); lineS.yField = "data"; seriesArray. push(lineS) ; lineChart.series = seriesArray; for now my data contains around 2000 values for each line chart and there are seven rows in the datagrid and only one column with linechart in it's each cell. ----- Original Message ---- From: Alex Harui <[EMAIL PROTECTED] com> To: flexcomponents@ yahoogroups. com Sent: Tuesday, April 10, 2007 10:32:52 PM Subject: RE: [flexcomponents] please help! timeout error with large data? Probably. You have to find out where all the time is being spent and do some optimization. How much data is a "large amount"? How many line and bar charts are on screen? Do all of them need updating or can you stop certain ones from updating? Can you break up the updates and just do one pair of charts at a time? You could take one of your line and bar charts and measure how long it takes to update them with new data when outside of the DG, then test with only one pair in the DG. One way I do this is to put an "enterFrame" listener on the stage and trace out the value of getTimer(). Normally, you'll see the value increase by the frame-rate. Then when it gets busy you'll see the value increase by much more and that gives you an idea of the overhead. -Alex ________________________________ From: flexcomponents@ yahoogroups. com [mailto:flexcompone [EMAIL PROTECTED] com] On Behalf Of arpan srivastava Sent: Tuesday, April 10, 2007 8:47 AM To: Flex Components Subject: [flexcomponents] please help! timeout error with large data? Hi All, I am getting this error when I give a large amount of data to my component that consists of a datagrid with line charts and bar charts in it's columns. Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at mx.managers. layoutClasses: :PriorityQueue/ removeSmallestCh ild() at mx.managers: :LayoutManager/ validateClient( ) at mx.core::UIComponen t/validateNow( ) at mx.controls. dataGridClasses: :DataGridBase/ mx.controls. dataGridClasses: DataGridBase: :drawItem( ) at mx.controls. dataGridClasses: :DataGridBase/ mx.controls. dataGridClasses: DataGridBase: :makeRowsAndColu mns() at mx.controls: :DataGrid/ mx.controls: DataGrid: :makeRowsAndColu mns() at mx.controls. listClasses: :ListBase/ mx.controls. listClasses: ListBase: :updateDisplayLi st() at mx.controls: :DataGrid/ mx.controls: DataGrid: :updateDisplayLi st() I did following: scriptTimeLimit= "500" scriptRecursionLimi t="50000" but is there any other way around ? ________________________________ Never miss an email again! Yahoo! Toolbar <http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar /features/mail/> alerts you the instant new Mail arrives. Check it out. <http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar /features/mail/> ________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites <http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVp BF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0w Nw--> to find flight and hotel bargains. ________________________________ We won't tell. Get more on shows you hate to love <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265> (and love to hate): Yahoo! TV's Guilty Pleasures list. <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>
