AlignType | Align type of scale main ticks, grid lines owing to values on axis |
---|---|
AlignValue | Align value of scale main ticks legends owing to values |
CountType | Type of setting number of scale main ticks-legends or grid lines |
CountValue | The number of the scale main ticks-legends |
The object of the tvTicks type is owned by two types of objects:
The object is used only if the graphic mode is set.
var oTicks;
var oTView = pMe.Items("../TrendView");
oTicks = oTView.ScaleTime.Ticks;
oTicks.AlignType = 3; //alignment to the absolute value
oTicks.AlignValue = 1/4; //alignment to the value 06:00:00 on the time axis
oTicks.CountType = "count";
oTicks.CountValue = 4; //number of main ticks is 4
oTicks = oTView.ScaleValue.Ticks;
oTicks.AlignType = 3; //alignment to the absolute value
oTicks.AlignValue = 0; //alignment to the value 0 on the value (Y) axis
oTicks.CountType = "distancevalue";
oTicks.CountValue = 200; //distance of two main ticks is 200