ItemsCount: Integer;
The ItemsCount property determines the number of visualizer scale elements.
Scale elements are the total number of intervals and inequalities. The No Data element is not included into the number of scale elements.
The number of scale elements (ItemsCount) is equal to the number of intervals (IntervalsCount), if the EnableEquality property is set to False.
The number of scale elements (ItemsCount) is equal to the sum of intervals (IntervalsCount) and scale values (ValuesCount) if the EnableEquality property is set to True.
The below scale that was calculated for EnableEquality= True will have the following values:
ItemsCount: 7
IntervalsCount: 4
ValuesCount: 3
The number of scale elements should be set before scale calculation (ConstructScaleElements, AutoSetupScaleItems), in this case IntervalsCount and ValuesCount are calculated automatically.
Example of use is given on the description page of the IVZDataScale.Item property.
See also: