Jump to content
Software FX Community

Show new data using ChartFX and AJAX

Kristof Verpoorten

Recommended Posts


I have a program running on my webserver that continiously feeds new data into a database (CPU load of the webserver). I also have an ASP.NET page that displays a ChartFX graph with the CPU loads of the last 10 seconds. That all works great.

But now I want the graph to update itself to show the new data in the database every second, using AJAX!! I tried to make this using the microsoft AJAX.NET extensions (with an updatepanel and a timer), and it works, but the image flickers on each refresh... Is there any other way to achieve this without the flickering of the image?

Kind regards,


Link to comment
Share on other sites

Check out the following KB article from support site:

Q7651001. Chart FX for VS 2005 and AJAX

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/765/1/001.htm?_r=1

In particular, take a look at the UserCallback Event

Through the use of this event you will be able to refresh only the chart and leave the rest of the page untouched. No flickering will occur.


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.

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...