"visibleTimeRange"

Defines the visible start time and end time of the time range in the trend.

Synopsis

setValue(string shape, "visibleTimeRange", int trendAreaNr, time start, time end);

getValue(string shape, "visibleTimeRange", int trendAreaNr, time &start, time &end);

shape.visibleTimeRange(int trendAreaNr, time start, time end);

Parameters

Parameter Description
shape Name of the object
timeAreaNr Number of the selected area, starting at 0
start Start time for the visible time range
end End time for the visible time range

Description

Defines the visible start time and end time of the time range in the trend. This function can be used to display for all available trend areas the same time range.

Example

main()
{
  int trendAreaNr = 0;
  time start, end;
  start = makeTime(2009,8,18,13,50);
  end = makeTime(2009,8,18,14,50);
  this.visibleTimeRange(trendAreaNr, start, end);
  DebugN("trendAreaNr: ", trendAreaNr);
  DebugN("start: ", start);
  DebugN("end: ", end);
}

Assignment

Trend