property Graph.Data as Variant
Defines the source the control imports data from

TypeDescription
Variant The Source parameter may be one of the following:
  • A String expression that indicates the path to a file to be loaded or the content itself (If the expression points to a file, the file's content is loaded) 
  • a Safe Array one-dimension or two dimensional to be loaded. If the Source parameter points to a one-dimension safe array, it indicates the rows to be loaded. If the Source parameter refers a two-dimension safe array, the first dimension indicates the rows, while the second indicates the column. If the Options parameter includes the word "reverse", the first dimension indicates the columns, while the second indicates the rows of data. 
The Data method is equivalent with Import method. The DataOptions property specifies the options of the Import method. 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 Import method loads CSV files / CSV content or data from a safe-array as explained:

Here's a few samples of using Import method with arrays, using the /COM version:

Here's a few samples of using Import method with arrays, using the /NET version:

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

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