Use the LoadFromFile method to load a chart's layout, which has been saved to a file using the SaveToFile method. If the specified file doesn't exist, an exception is raised.
For more information, refer to Storing the Chart Layout.

Example
This example demonstrates how the LoadFromFile method works.
C# |
private void Form1_Load(object sender, EventArgs e) {
chartControl1.LoadFromFile(@"C:\\myChart.xml");
}
|
VB |
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As EventArgs) Handles MyBase.Load
chartControl1.LoadFromFile("C:\\myChart.xml")
End Sub
|