|
|
Initializing the Chart
The property that must be set before any other Flipper Graph Control properties or methods can be used is the DataInit property. The DataInit property initializes the graph's data buffer by setting the number of columns of data that will be used for the graph.
The data buffer is a matrix of rows and columns; you must initialize the control to the number of columns you desire, then add the data one cell at a time.
Any previous data allocated into the data buffer is lost when DataInit is called for that graph.
For your first graph, we are going to initialize the data buffer to three columns of data.
We will use the first column (column 0) to set the x-axis data values, and the remaining columns (1 and 2) to provide data for the y-axis.
![]() |
Last modified on: Friday, August 16, 2002