|
|
XYZGridSize Property
Sets a grid size that the data is averaged on.
Syntax
FlpGrf.XYZGridSize [ = value]
The XYZGridSize property has these parts:
|
Part |
Description |
|
FlpGrf |
An object expression that evaluates the Flipper Graph ASP object. |
|
value |
When XYZType is 1 or 2, this is a numeric expression specifying the size of the square grid in rows and columns. (Default 20 - range 10 to 80). When XYZType is 5 or 6, this is a numeric expression specifying the number of points (columns) per row of data. |
Remarks
This property is used for mesh graphs only (where GraphType is 3).
For graphs whose XYZType is set to 1 or 2, this property sets the grid size. The value is the number of rows and columns that the data will be averaged on (that is, the grid will be set to (value x value)). The larger the grid size, the finer the detail, but the production of the graph will take longer. The value is limited to a range from 10 to 80.
For user-defined graphs whose XYZType is set to 5 or 6, this property sets the number of data points (columns) each row must have in the grid.
For example, say we want a custom mesh graph that has 3 points per row of data, and a total of 10 rows in the graph.
FlpGrf.XYZGridSize = 3
' number of data points per row
Then we would provide 10 rows of data. Each row has three points in it as specified by XYZGridSize.
Here is one row (where the three data points are indexed from 1 to 3):
FlpGrf.DataValue(1, 1) = 0
' y value for the first point of the first row
FlpGrf.DataValue(1, 2) = 25
' z value for the first point of the first row
FlpGrf.DataValue(2, 0) = 0
' x value for the second point of the first row
FlpGrf.DataValue(2, 1) = 10
' y value for the second point of the first row
FlpGrf.DataValue(2, 2) = 20
' z value for the second point of the first row
FlpGrf.DataValue(3, 0) = 0
' x value for the third point of the first row
FlpGrf.DataValue(3, 1) = 20
' y value for the third point of the first row
FlpGrf.DataValue(3, 2) = 28
' z value for the third point of the first row
The same thing would be done for the remaining rows of data, the only thing changing being the index for the points. That is, for the first row, the indexes for the three points were 1, 2, and 3. For the second row, the indexes would be 4, 5, and 6, and so on, until the 10th row, where the indexes would be 28, 29, and 30.
See Also
XYZType Property, GraphType Property
![]() |
Last modified on: Friday, August 16, 2002