|
how to draw chart |
Posted by nur on Dec-18-2012 00:28 |
|
Hi,
Im using Microsoft Visual Basic 2010. I want to plot graph by using data from text/excel file.
I've installed Chart Director. How should I use it?Is there any tutorial made available on
the internet?
TQ. |
Re: how to draw chart |
Posted by Peter Kwan on Dec-18-2012 02:30 |
|
Hi nur,
There are plenty of sample code and tutorials in ChartDirector. To get started, please refer to the "Installation" and "Getting Started" section of the ChartDirector documentation, which is included in the download. An online version of the documentation is also available at:
http://www.advsofteng.com/doc/cdnet.htm
Many of the sample code use hard coded arrays as data. In your real application, the array would probably be filled with dynamic data from your code.
Note that ChartDirector does not read data at all. Instead, your code would need to pass the data to ChartDirector as array variables. For example, if your data are in a text file, your code would need to read the data from the text file into Visual Basic arrays. Then your code can pass these arrays to ChartDirector to plot charts.
Hope this can help.
Regards
Peter Kwan |
|