Skip to main content

ChartControl.LoadFromFile(String) Method

Loads a chart from the specified file.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public void LoadFromFile(
    string fileName
)

#Parameters

Name Type Description
fileName String

String value which specifies the path to the file containing the chart to be loaded.

#Remarks

Use the LoadFromFile method to load a chart's layout, which has been saved to a file using the ChartControl.SaveToFile method. If the specified file doesn't exist, an exception is raised.

See Also