ValueCount: Integer;
ValueCount: Integer;
The ValueCount property returns the number of values available for each matrix coordinate.
The property is relevant on working with the factor matrix or value matrix, which can be obtained after calculating time series database. If the IRubricatorFactorIO.FactDataId/IRubricatorFactorIO.ValueId properties are not set on calculation, the IRubricatorExecuteResult.Factors factor output matrix will have empty values, and the IRubricatorExecuteResult.Values value output matrix will contain factor values (values of the VL attribute).
If the IRubricatorFactorIO.FactDataId/IRubricatorFactorIO.ValueId properties are determined, each cell of output matrix will provide value set of all specified attributes corresponding to the calculation point. The ValueCount property returns the number of attribute values in each matrix cell (corresponds to the number of attributes specified in the IRubricatorFactorIO.FactDataId/IRubricatorFactorIO.ValueId properties). Each attribute value can be obtained via the IMatrixIterator.Values property.
The example of use is given in description of the IMatrixIterator.Values property.
See also: