User (Legacy) Posted October 22, 2003 Report Share Posted October 22, 2003 Hi, I have noticed that when our application loads the first time a chart control is created by the code this.Chart = new SoftwareFX.ChartFX.Chart(); this line of code takes 5 to 6 seconds to execute (on a 1.5 GHz Petium 4). Subsequent chart creations take negligible time. Is this normal? If not, what could be causing this slow loading time. I think that maybe this did not occur when we first started using the control, but now I am not sure. Peter Todd Link to comment Share on other sites More sharing options...
Software FX Posted October 22, 2003 Report Share Posted October 22, 2003 Yes. The first call checks the license, which is then cached. 5 to 6 seconds is too much though, usually the license is checked in less than a second and while it is true that the first chart takes longer than subsequent charts the difference shouldn't be noticeable. I think there is some problem with the license in your application. Have you tried this app in a computer where Chart FX is not installed (licensed) ? Does it work the same way ? To figure out what's going on, create a project from the scratch with a chart in the main form and measure the time it takes to do new Chart Then put a button that does the same (new Chart) and measure that time. Run this app from outside of Visual Studio. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.