Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TimeZoomMax - property of object TrendsView

Description:
Maximum limit of setting the range (length) of the viewer time axis. It is not possible to set the range of the viewer time axis greater than the TimeZoomMax.
Syntax:
TimeZoomMax As Variant
Calling:
oTView.TimeZoomMax = n
Values:
number value - The length is set as a real number that means the number of days (e.g. 0.5 means a half day). The value -1 means that the maximum limit of setting the range is not restrained.
string value - The time span can be set in text form. In such case it is represented by a real number followed by the the time unit identifier (sec,min,hour,day). Input example: "1.5sec", "1min30sec".
Note:
Property access for read and write. The preset value of this property is defined in the Maximal time axis range [sec] (-1 = unlimited) configurator of this object. It is used only when the graph mode is set. When reading from the property, the numeric value is always returned. The initial value of the property is set to 1460, which corresponds to 4 years.

In javascript the value of the time interval in milliseconds is set/returned as the numeric value.

Example1:
oTView.TimeZoomMax = 1.5
Example2:
oTView.TimeZoomMax = "0.5day"
Example3:
oTView.TimeZoomMax = "1hour30min"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice