Jump to content
Software FX Community

Chart does not show up until after refreshing the webpage


boosts
 Share

Recommended Posts

I have a page with multiple links to another page which has a chartfx chart displaying results based on which link in the original page you click on.

On the final page I have a code snippet (as part of the aspx page and within server tags) that successfully creates a scatter chart and saves it to a folder on my server. After which I display the chart on the page using

Response.Write(ChartFX1.GetHtmlTag(660, 440, "Image"))

However, the chart does not show up and instead I get the usual behavior when the image you are trying to display does not exist (red X). But afther refreshing the same page, the chart shows up just fine.

The behavior is somewhat inconsistent as well because after the page is refreshed once, All the links in the original page produce good charts on the landing page.

This almost seems as if there is not enough time between when the chart is created and when the page is rendered and after the first time the dll is accessed, some sort of caching prevents the mishap.

Any help is appreciated.

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.

 Share

×
×
  • Create New...