"areaMaximumTimeSpan"

Can be used to set the maximum time span that should be displayed inside of the trend area.

Synopsis

trendObj.areaMaximumTimeSpan(int area, time span);

getValue(trendObj, "areaMaximumTimeSpan", int area, time span)

Parameter

Parameter Description
trendObj Trend for which the attributed should be get
area Area ID
span maximum time span in seconds that should be displayed

Description

The attribute allows to define the maximum time span that can be displayed inside of the trend area. By default no limit is given (span = 0).

EXAMPLE

The following example sets the maximum time span limit to 1 hour.

main()
{
  TREND1.areaMaximumTimeSpan(0,3600);
}

A maximum time span of 1 hour is displayed (in this case from 14:40 to 15:40).

Assignment

Trend