Load Method

Microsoft Office Web Components Object Model

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(FileName As String)

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"