AlignType - property of object tvTicks
Align type of the scale main ticks (of the tvScale
object) or the grid lines (of the tvGrid
object) owing to the values on the (time/value) axis.
Specifies which values on the scale have got the main tick (and thereby a legend = label) or the grid line.
For example, it can be defined a legend for the value on the time scale at 10:00 and then every 8 hours.
oTicks.AlignType = n
0 - No alignment
- Automatic alignment according to the current axis range. The AlignValue
property is not used.
- Value in the AlignValue
property specifies the absolute value where the main tick has to be placed.
For the value (Y) axis it is a real number. For example, the value 0 in the AlignValue property means that the legend of the scale is placed for the value 0 and for the next value according to the number of main ticks CountType, CountValue.
For the time axis it is a real number that corresponds to the absolute time in days. For example, the value 1/4 in the AlignValue property means that the main tick is on the value of 06:00:00 hour, the value 0 means the time 00:00:00. The next main ticks are specified by setting the CountType, CountValue properties.
- Alignment in percentage. There is specified a value, on which the main tick has to be placed in percentage owing to the axis range (length), in the AlignValue
property. For example, the value 30 means that the main tick is placed in 30/100 of (time, value) axis length. The next main ticks are specified by setting the CountType
- (valid choice only if the value of the property is set in the tvTicks
object that belongs to the tvGrid
object) Alignment is the same as the alignment of the AlignType
property of the tvTicks
object that belongs to the tvScale
object i.e. the grid lines are align exactly to the main ticks of the (time, value) scale.
Property access for read and write
. The preset value of this property is defined in the "Align type
" configurator of this object.
See examples in the description of the tvTicks