SetDuration Method

Sets the length of time to display the Chart.

NOTE: Tying a script to this method that triggers faster than 5 seconds is not recommended.

Syntax

object.SetDuration days, hours, minutes, seconds

Properties

The SetDuration method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

days

Long. The number of days to display the Chart.

hours

Long. The number of hours to display the Chart.

minutes

Long. The number of minutes to display the Chart.

seconds

Long. The number of seconds to display the Chart.

 

Example

Applies To