GaugeSetDateRange method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Sets the date range (All Dates, YTD, PTD, etc) of the Gauge for a Critical Number bound Gauge that is bound to a date driven number.

Syntax

object.GaugeSetDateRange(string)

Part Description
object Required. A reference to a valid gauge component object.
string Required. A gauge date range which is valid for the selected critical number.

Remarks

Gauge date ranges are available on IDO-based critical numbers that have a date property specified.

Example

Sub Main()
    ThisForm.Components("gauge1").GaugeSetGaugeDateRange("YTD")
End Sub