CimPairData.Count (property)

Gets the smallest size of the X and Y data value vectors and sets their sizes at the same time.
Syntax: long = object.Count
object.Count = long
Description: CimPairData.Count contains the smallest Count in its X and Y vectors. In other words, if you have a CimPairData object that has an X vector with a Count of 5 and a Y vector with a Count of 10, the CimPairData object has a Count of 5. This means that the series that owns the CimPairData object displays the first 5 pairs of X and Y data values.


The following CimView script excerpt changes both X and Y vector counts to 5 on a series called Series 1:
cimOleObj.Series("Series 1").Data.Count = 5