User (Legacy) Posted December 9, 2003 Report Posted December 9, 2003 Hi I wonder if anyone can help? 3 Charts in a Repeater works fine, but when I add the 4th ( With out data its fine ) with data it maxs out the CPU and the browser hangs. Interestingly enougth the first 3 charts show fine, but when I scroll down to the 4, this is when my browser hangs. ( one the action of scrolling down the page to it) I've tried this on another machine and it does the same. Anyone any ideas? My Information: I am running XP Pro with .Net framework 1.1, The charts are on a c# aspx page and the view is in .Net mode for each chart within my repeater. Kind regards, Jason Weblogik Ltd.
User (Legacy) Posted December 9, 2003 Author Report Posted December 9, 2003 Solved the problem, Its not the fact that we're using a repeater, I had a value in my chart of -1 rather then a whole number. Is this possibly a bug? Kind regards, Jason. "Jason Clark" <jason.clark@weblogik.biz> wrote in message news:OV60I6lvDHA.3512@WEBSERVER1... > Hi > I wonder if anyone can help? > > 3 Charts in a Repeater works fine, > but when I add the 4th ( With out data its fine ) with data it maxs out the > CPU and the browser hangs. > > Interestingly enougth the first 3 charts show fine, but when I scroll down > to the 4, this is when my browser hangs. ( one the action of scrolling down > the page to it) > > I've tried this on another machine and it does the same. > > Anyone any ideas? > > My Information: > I am running XP Pro with .Net framework 1.1, The charts are on a c# aspx > page and the view is in .Net mode for each chart within my repeater. > > Kind regards, > Jason > > Weblogik Ltd. > >
Software FX Posted December 13, 2003 Report Posted December 13, 2003 A value of -1 in what ? -- FP Software FX, Inc.
User (Legacy) Posted December 15, 2003 Author Report Posted December 15, 2003 In brief below dataValue was minus one. ( I used this to indicate a data error in my database) hence chart fx through a wobblely and maxed out CPU. Series1 = new System.Collections.ArrayList(); Labels = new System.Collections.ArrayList(); AllPoints = new System.Collections.ArrayList(); while (DataReader.Read()) { Labels.Add ( DataReader["SITE_NAME"].ToString () ); Series1.Add( double.Parse (DataReader["dataValue"].ToString ())); } AllPoints.Add (Series1); lstProvider = new SoftwareFX.ChartFX.Data.ListProvider(AllPoints); Chart1.DataSourceSettings.DataSource = lstProvider; Chart1.DataBind();
Software FX Posted December 15, 2003 Report Posted December 15, 2003 Hmm. That's odd. A value of -1 should be ok. Where ALL values -1 ? if so, what could have happened is that we were unable to calculate a valid scale ( MIN/MAX ), this condition can be easily tested by comparing Min and Max right after passing the data, however, I checked and in Chart FX 6.2 we check for this condition. Which version are you using ? -- FP Software FX, Inc.
User (Legacy) Posted December 16, 2003 Author Report Posted December 16, 2003 I think all values where -1, Version 6.0 Now testing 6.2 - Thanks. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:jeV72nywDHA.3072@WEBSERVER1... > Hmm. That's odd. A value of -1 should be ok. Where ALL values -1 ? if so, > what could have happened is that we were unable to calculate a valid scale > ( MIN/MAX ), this condition can be easily tested by comparing Min and Max > right after passing the data, however, I checked and in Chart FX 6.2 we > check for this condition. > > Which version are you using ? > > -- > FP > Software FX, Inc. > >
User (Legacy) Posted December 21, 2003 Author Report Posted December 21, 2003 Jason, I find that 5 charts is the magic number. CPU usages jumps (but doesn't max), and any other charts show as a broken image or applet shows a 'Failed to download Chart. Timeout' error message. Is this a known limitation? Stephen "Jason Clark" <jason.clark@weblogik.biz> wrote in message news:OV60I6lvDHA.3512@WEBSERVER1... > Hi > I wonder if anyone can help? > > 3 Charts in a Repeater works fine, > but when I add the 4th ( With out data its fine ) with data it maxs out the > CPU and the browser hangs. > > Interestingly enougth the first 3 charts show fine, but when I scroll down > to the 4, this is when my browser hangs. ( one the action of scrolling down > the page to it) > > I've tried this on another machine and it does the same. > > Anyone any ideas? > > My Information: > I am running XP Pro with .Net framework 1.1, The charts are on a c# aspx > page and the view is in .Net mode for each chart within my repeater. > > Kind regards, > Jason > > Weblogik Ltd. > >
Software FX Posted December 22, 2003 Report Posted December 22, 2003 If you read further on Jason's thread, you will se that the problem has nothing to do with the number of charts in the repeater. Jason said: "Solved the problem, Its not the fact that we're using a repeater, I had a value in my chart of -1 rather then a whole number. Is this possibly a bug?" The problem was that he was setting ALL the values to -1 and therefore the chart ended up without a Y-Axis scale (Min = Max). Maybe you are experiencing a different problem. Do you have a repro case ? -- FP Software FX, Inc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.