Working with Data > Loading Data From a File > Loading the Data |
To allocate and load the data from a file, you can either use the Property Page's Load button, which is located on the Data sub tab of the ChartGroup tab, or do it programmatically. Use the Chart3dData's Load method to load data from a file. Load either the ElevationData or ContourData using the Load Method:
' Load the data from files
Chart3D1.ChartGroups(1).ElevationData.Load "elevation.dat"
Chart3D1.ChartGroups(1).ContourData.Load "contours.dat"