ChartDirector 7.1 (.NET Edition)

The First Windows Forms Project from Scratch


In the previous section The First Windows Forms Project, we introduce a simple bar chart example using code from the "NetWinCharts" sample project. The code is structured so that the sample charts are browsable by the browser in the "NetWinCharts" project.

To use the code in your own project, you may copy the code inside the "createChart" method to your project, and change the "viewer" variable to the name of your control.

In this section, we will provide step by step instructions as an example.

The code above is the same as that in the previous section The First Windows Forms Project, except that the variable "viewer" is changed to the "winChartViewer1". Please refer to the previous section for detail explanation of the code.