TCustomDBChart.RefreshData
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomDBChart.RefreshData
TCustomDBChart

procedure RefreshData;

Unit
DBChart

Description
The RefreshData method forces TDBChart to retrieve again all Series points from their associated DataSets.

You associate DataSets ( Tables, Queries, etc ) to Series by setting the Series DataSource property.

It calls the RefreshDataSet method for all Series with DataSets as Series DataSources.

It do not closes nor opens nor refreshes the DataSets.

It only retrieves again all records and adds all Series points. The current DataSet filter is preserved. The current record position is saved and restored after loading all point by using a TBookMark internal variable.

For each record, you can optionally use the OnProcessRecord event to stop adding more points and retrieving more records.

When refreshing datasets, the mouse cursor can be automatically to a glass cursor by using the TDBChart.ShowGlassCursor property.



Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.