This is a bean which brings up a chart. You can customize the chart type (Bar chart, Line graph, Column chart, Pie chart) specify the
various titles and enter the data rows and columns.
This bean has its own customizer which is not supported by Visual Basic
currently but will soon be.
Note: Beans are a new to the 1.1 Java specification and are not
supported in the IE 3.0 scripting model; please install IE 4.0 to see the full functionality of this sample.
To edit the bean in Visual Basic, perform the following steps:
- Type "register.bat" in the JChart directory to register the bean.
- Start Visual Basic, find the component JChart and put it in a form.
- Make the rowCount and columnCount some positive number
- Now set the row to 1 and column to 1, then enter something in the data field.
- Add data to other rows and columns and observe barcharts sprouting up
- Now set the chart type to 3 and observe a Pie Chart instead
Remarks:
This sample requires Internet Explorer 4.0
|