Description
Returns item of statistics
-
Property type
-
A Variant value.
Statistical item
-
Syntax
-
object.ItemStats(ItemIndex, [ReturnVarType])
The ItemStats Property syntax has these parts: |
| object | An expression evaluating to an object of type McDataColumn. | | ItemIndex | Required. A mcStatsTypes enumeration, as described in settings. statistical parameter as enumStatsTypes
| | ReturnVarType | Optional. A mcDVColVarTypes enumeration, as described in settings. optional, type of the returned variable as enumDVColVarTypes, can be mcdvVarTypeNative - native variable type from database (time, double,...), default mcdvVarTypeDouble - double mcdvVarTypeString - string
| Settings The settings for ItemIndex are:
 | mcStatsMean | 0 |
mean value
mean value
|
 | mcStatsStDev | 1 |
standard deviation
standard deviation
|
 | mcStatsMin | 2 |
minimum value
minimum value
|
 | mcStatsMax | 3 |
maximum value
maximum value
|
 | mcStatsRange | 4 |
range
range
|
 | mcStatsSum | 5 |
sum
sum
|
 | mcStatsIMin | 6 |
index of minimum
index of minimum
|
 | mcStatsIMax | 7 |
index of maximum
index of maximum
|
 | mcStatsNItems | 8 |
number of items
number of items
|
The settings for ReturnVarType are:
 | mcdvVarTypeNative | 0 |
native variable (time, double,...)
|
 | mcdvVarTypeDouble | 1 |
double
|
 | mcdvVarTypeString | 2 |
string
|
|