Load the contents of the current Chart3DData object from the specified file.
Namespace:
C1.Win.C1Chart3DAssembly: C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)
Syntax
C# |
---|
public void LoadDataFromFile( string filename ) |
Visual Basic |
---|
Public Sub LoadDataFromFile ( _ filename As String _ ) |
Parameters
- filename
- Type: System..::..String
File name.
Remarks
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.