Jump to content
Software FX Community

Automatic refresh of databound chart (Image renderer)


User (Legacy)

Recommended Posts

Here's a great article you might be interested in:

Q7651001. Chart FX for VS 2005 and AJAX

Chart FX makes extensive use of AJAX internally to provide a rich UI,

additionally Chart FX supports mechanisms for AJAX interactions from

external controls. This article explains a few techniques for using Chart FX

within an AJAX-rich environment.

URL:

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

In particular you can use the UserCallback Event along with some Java Script

timer code to achieve what you need.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Software FX wrote:

> How is your chart getting its data ? DataBinding ? Is ViewState enabled ?

>

I´ve set the datasource to a SqlDatasource which is databound. I´m using

the DataSourceSettings.ReloadData() to refresh the chart (this may be

incorrect usage).

The goal is to have a chart which periodically (every 10 seconds)

refreshes itself to new data added to the Sql table.

Thanks,

Adam

Link to comment
Share on other sites

I found that it is necessary to define DatasourceID on Page_Load rather 

than in the control properties in order to preserve the data.

-Adam

Adam Kunicki wrote:

> Software FX wrote:

>> How is your chart getting its data ? DataBinding ? Is ViewState enabled ?

>>

>

> I´ve set the datasource to a SqlDatasource which is databound. I´m using

> the DataSourceSettings.ReloadData() to refresh the chart (this may be

> incorrect usage).

>

> The goal is to have a chart which periodically (every 10 seconds)

> refreshes itself to new data added to the Sql table.

>

> Thanks,

> Adam

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...