AddSpeedBin Method
The AddSpeedBin method adds a bin to a wind chart. Returns the bin index as a short. This index changes as bins are added or deleted.
Syntax
object.AddSpeedBin( min, max, noMin, noMax)
Parameter | Type | Description |
min | Double | required, minimum value of bin |
max | Double | required, maximum value of bin |
noMin | Variant | optional, true if no minimum for bin (default = false) |
noMax | Variant | optional, true if no maximum for bin (default = false) |
Remarks
Note that only one bin may be set to no minimum. Similarly only one bin may be set to no maximum. True values for noMin or
Example
This example shows how to add new speed bins.
WindChart.AddSpeedBin(0,2,True)
WindChart.AddSpeedBin(2,4)
WindChart.AddSpeedBin(4,6)
WindChart.AddSpeedBin(6,8)
WindChart.AddSpeedBin(8,10)
WindChart.AddSpeedBin(10,12)
WindChart.AddSpeedBin(12,14)
WindChart.AddSpeedBin(14,16)
WindChart.AddSpeedBin(16,18)
WindChart.AddSpeedBin(18,18,,True)
Used by: AutoWindChart object