[]
Load the contents of the current Chart3DData object from the specified file.
public void LoadDataFromFile(string filename)
Type | Name | Description |
---|---|---|
string | filename | File name. |
This method loads the current Chart3DData object with the contents of the specified file. The data format is defined by file extension. If file extension is �dat� then ComponentOne Chart 7 data format is used for loading data. Using any other extension leads to reading data in xml format. If an error occurs during the file reading, an appropriate exception is thrown indicating the cause of error.
Load the contents of the current Chart3DData object from the specified file using specified format.
public void LoadDataFromFile(string filename, DataFormatEnum dataFormat)
Type | Name | Description |
---|---|---|
string | filename | File name. |
DataFormatEnum | dataFormat | Data format. |
This method loads the current Chart3DData object with the contents to the specified file in specified data format. If an error occurs during the file reading, an appropriate exception is thrown indicating the cause of error.