Jump to content
Software FX Community

Slow performance displaying charts using VB6


RobertM

Recommended Posts

 Hello,

I've been using ChartFX for a while now, and my users are increasingly annoyed with the length of time it takes to display a fairly simple bar chart.

I ran Rational Quantify to get some times on how long certain functions are taking, and I was surprised.   For example, when setting up the chart legend, the UserLegendBoxItem.Put_Label function is called three times and takes 4.98 seconds to execute.  Accessing the Chart.UserLegendBoxObj one time takes 4.78 seconds.  When I step over lines like these in my code debugger, there is a visible pause before these lines are completed.

My question is does anyone know any shortcuts to speed this up?  Are there settings that will disable certain time-consuming checks from being performed?

What is happening in these functions that take so long? 

Thanks,

Robert 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...