Jump to content
Software FX Community

Slow chart control creation

User (Legacy)

Recommended Posts


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

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.



Software FX, Inc.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...