Share via


Load Method

Loads XML chart data from a URL or local file. The file must consist of only charting XML, and it cannot contain any leading HTML. The string must begin with <script language="XML"> and end with </script>.

expression.Load(FileNameAsString)

*expression   * An expression that returns a ChartSpace object.

FileName    Required String. Specifies the file containing XML chart data.

Example

This example loads the specified XML data file.

ChartSpace1.Load "chart.xml"

Applies to | ChartSpace Object

See Also | LoadText Method