Microsoft Office 2000/Visual Basic Programmer's Guide   

Understanding the Chart Control

The Chart control is an ActiveX control that lets you create a two-dimensional graphical representation of data displayed in a Web page in Internet Explorer 4.01 or later. You get the most complete functionality with this control, and all of the Office Web Component controls, by using Internet Explorer 5 or later.

The Chart control can be bound to a Spreadsheet control, a Data Source control, a PivotTable List control, an ADO recordset, or any ActiveX control that supports data binding. You can bind the chart to a local data source (data stored in the HTML code in the page itself) or to a remote data source (data stored in a Microsoft Access or SQL Server database, for example). As data changes in the data source, the Chart control automatically updates, scales, and sizes itself appropriately.

You can insert a Chart control in a Web page in several ways:

The CLSID for the Chart control and all the objects and related methods and properties for the control are documented in the Msowcvba.chm Help file, which is located in the C:\Program Files\Microsoft Office\Office\1033 subfolder.

Note The path to the Msowcvba.chm Help file reflects the language ID folder (1033) for U.S. English language support in Office. The language ID folder below C:\Program Files\Microsoft Office\Office differs for each language.