Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ZoomValue - method of object TrendsView

Description:
Zooming trends on the value scale.
Syntax:
ZoomValue(vTrend As Variant, nType As Long, nFixed As Long, vPar1 As Variant, vPar2 As Variant)
Calling:
oTView.ZoomValue vTrend, nType, nFixed, vPar1, vPar2
Parameters:
vTrend(Variant) specification which trends to zoom
-4 - only the active trend, see TrendActive.
"", -3 - all trends.
"id" - trend with the id identifier, see tvTrend.ID.
nType(Long) Type of setting the range
1 - vPar1/vPar2 are new values of the lower/upper viewer edge
10, 11 - Decrease/increase of the range automatically according to the table. Set vPar1 and vPar2 to 0.
20 - Change of the zoom with the preservation of the value position according to nFixed. There is the multiple of the value axis current length in vPar1, for example 2=increasing the range, 0.5=decreasing the range. Set vPar2 to 0.
21 - Change of the zoom with the preservation of the value position according to nFixed. There is a new range in vPar1. Set vPar2 to 0.
nFixed(Long) Specification of the fixed part while zooming
1 - Zoom with the preservation of the lower edge position
2 - Zoom with the preservation of the upper edge position
3 - Zoom with the preservation of the center position
4 - Zoom with the preservation of the cursor position
vPar1(Variant) New value of the lower edge or the multiple value - according to setting nType
vPar2(Variant) New value of the upper edge or the multiple value - according to setting nType
Note:
It is used only when the graph mode is set.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice