property Graph.DataSource as Object
Retrieves or sets a value that indicates the data source for object.

TypeDescription
Object An Object that defines the control's data. Currently, the control accepts ADO.Recordset, ADODB.Recordset objects, DAO recordset.
The DataSource property may be used to load data from a table or a record set using the ADO or DAO recordsets. Microsoft's ActiveX Data Objects (ADO) is a set of Component Object Model (COM) objects for accessing data sources. In computer software, a data access object (DAO) is an object that provides an abstract interface to some type of database or other persistence mechanism. By mapping application calls to the persistence layer, DAOs provide some specific data operations without exposing details of the database. The Data property of the Serie object, defines the list of column-names or column-indexes separated by comma within the control's data, such as "AAPL (open),AAPL (high),AAPL (low),AAPL (close)" or "1,2,3,4".

The control can load data using one of the following methods:

The DataSample property gives a sample of the data being loaded.