Specifies which values of 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.
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.
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, CountValue properties.
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.
var oTicks;
var oTView = pMe.Items("../TrendView");
oTicks = oTView.ScaleTime.Ticks;
oTicks.AlignType = 3;
oTicks = oTView.ScaleValue.Ticks;
oTicks.AlignType = 3;