ComponentOne WebChart 8.0 for ActiveX
Installing the Design-Time Control

These steps outline how to install ComponentOne WebChart into Microsoft Visual InterDev.

  1. Open Microsoft Visual InterDev.

  2. From the Toolbox menu, highlight Design-Time Controls.

  3. From the Tools menu, select Customize Toolbox; check the boxes next to ComponentOne WebChart 2D DTC and ComponentOne WebChart 3D DTC. Press the OK button. A 2D icon and a 3D icon, both reading ASPDesigner, should now appear in the Toolbox.

  4. In Microsoft Visual InterDev, double-click on either ASPDesigner. The template chart will appear on the ASP page. It is necessary to insert the following text within the HTML code in order to use the supplied routines.

VBScript for 2D WebChart:

Example Title
Copy Code
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/color.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/2dconst.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/2dgentag.inc" -->

VBScript for 3D WebChart:

Example Title
Copy Code
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/color.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/3dconst.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/VBS/3dgentag.inc" -->

JScript for 2D WebChart:

Example Title
Copy Code
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/color.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/2dconst.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/2dgentag.inc" -->

JScript for 3D WebChart:

Example Title
Copy Code
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/color.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/3dconst.inc" -->
<!-- #INCLUDE VIRTUAL="/WebChart8/Include/JavaS/3dgentag.inc" -->

This code ensures that the color definitions, the constant values, and the ability to allow the chart to be generated as JPG, PNG or OC2/OC3 files are included.

Now the chart is installed, and you can get right to work, creating charts for your web- based applications.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback