Type | Description | |||
Source as Variant |
The Source parameter may be one of the following:
| |||
Options as Variant | A String expression that specifies a list of options to be used while loading data using the Data method of string type, or a safe array of strings that indicates the name of the columns being loaded by the Data method of array type (equivalent with DataOptions property) |
Return | Description | |||
Variant | Reserved for future use only. |
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".
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:
If the Source parameter points to a string, the Options parameter indicates a list of options separated by space character ( or \r, \n or \r\n newline delimiters ) as listed option=value, where the option and the value could be:
For instance, if the Options parameter is "hdr=0 eof=';'", it indicates that the data in the Source contains no header information, and the fields inside the data are separated by a ; character. If the Options parameter is "eof=';' str=`'`" it indicates that the separator of the fields in the data is ; character while the ' character delimits the strings inside the data.
If the Source parameter points to a safe array ( two-dimensional ), the Options parameter may include the following word: