Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CountType - property of object tvTicks

Description:
Type of setting the number of scale main ticks-legends or grid lines. The position of main ticks or lines owing to the values is specified by setting the AlignType property.
Syntax:
CountType As String
Calling:
oTicks.CountType = s
Values:
"auto" (default) - The number of main ticks is counted automatically according to the current range (length) of the axis. The CountValue property is not used.
"distancevalue" - The value in the CountValue property specifies the distance of two ticks in axis variable units.

For the value (Y) axis it is a real number that specifies the distance of two main ticks.

For the time axis it is a real number that specifies the distance in days, for example, the value 1/12 means the difference of 2 hours, the value 1 means the difference of 1 day.

"sec" - The option is valid only for the time axis. The meaning is the same as for the parameter value distancevalue, only the difference value in the CountValue property is set in seconds. It specifies the distance of two ticks in the axis variable units, for example, the value 3 means the difference of 3 seconds.
"min" - The option is valid only for the time axis. The meaning is the same as for the parameter value distancevalue, only the difference value in the CountValue property is set in minutes. For example, the value 2 means the difference of 2 minutes.
"hour" - The option is valid only for the time axis. The meaning is the same as for the parameter value distancevalue, only the difference value in the CountValue property is set in hours. For example, the value 3.5 means the difference of 3 and half hours.
"day" - The option is valid only for the time axis. The meaning is the same as for the parameter value distancevalue, only the difference value in the CountValue property is set in days. For example, the value 5 means the difference of 5 days.
"distancepercent" - The value in the CountValue property specifies the distance of two ticks (lines) in percentage of the axis length. For example, the value 30 means that the distance of two main ticks is 30/100 of the axis length.
"count" - The CountValue property specifies the number of main ticks (lines).
"trendpoints" - The option is valid only for the time axis grid (tvTicks object) that belongs to the tvGrid object, i.e.
oTView.GridTime.Ticks.CountType = 40 'is GOOD

Lines of the time axis grid are at measured values.

"scaleticksmain" - The option is valid only for the grid (of the tvTicks object) that belongs to the tvGrid object, i.e.
oTView.GridTime.Ticks.CountType = 70 'is GOOD
oTView.ScaleTime.Ticks.CountType = 70 'is BAD

The number is the same as the number specified in the CountType property of the tvTicks object that belongs to the tvScale object, that is the number of grid lines is exactly the same as the number of (value or time) scale main ticks. It is reasonable to set it together with setting the AlignType property to the value 10.

"scaleticksall" - The option is valid only for the grid (of the tvTicks object) that belongs to the tvGrid object, i.e.
oTView.GridTime.Ticks.CountType = "scaleticksall" 'is GOOD
oTView.ScaleTime.Ticks.CountType = "scaleticksall" 'is BAD

The number is the same as the number specified in the CountType property of the tvTicks object that belongs to the tvScale object, that is the number of grid lines is exactly the same as the number of (value or time) scale main and minor ticks. It is reasonable to set it together with setting the AlignType property to the value 10.

Note:
Property access for read and write. The preset value of this property is defined in the CountType configurator of this object.
Example:
See Examples in the description of the tvTicks object
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice