Jump to content
Software FX Community

Show new data using ChartFX and AJAX


Kristof Verpoorten

Recommended Posts

Hi,

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,

Kristof 

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

Archived

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

×
×
  • Create New...