Class RVDateDashboardFilter

Class representing the optional date filter defined in a dashboard model.

Inheritance
System.Object
RVDateDashboardFilter
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class RVDateDashboardFilter : Object

Constructors

RVDateDashboardFilter(RVDateFilterType)

Creates a new date filter with the specified filter type. This constructor should not be used with CustomRange.

Declaration
public RVDateDashboardFilter(RVDateFilterType filterType)
Parameters
Type Name Description
RVDateFilterType filterType

The filter type to use in the filter

RVDateDashboardFilter(RVDateFilterType, RVDateRange)

Creates a new date filter with the specified type and custom range, this is the constructor that should be used with CustomRange

Declaration
public RVDateDashboardFilter(RVDateFilterType filterType, RVDateRange customRange)
Parameters
Type Name Description
RVDateFilterType filterType
RVDateRange customRange

RVDateDashboardFilter(RVDateRule)

Creates a new date filter with the specified rule./>

Declaration
public RVDateDashboardFilter(RVDateRule rule)
Parameters
Type Name Description
RVDateRule rule

Date rule to use for the filter

Properties

DateFilterType

The legacy date rule used for filtering. Eg. YearToDate, MonthToDate, CustomRange, etc.

Declaration
public RVDateFilterType DateFilterType { get; }
Property Value
Type Description
RVDateFilterType

The type of date filter, like YearToDate, MonthToDate, CustomRange, etc.

Id

The ID of the filter.

Declaration
public string Id { get; }
Property Value
Type Description
System.String

Range

The date range used for filtering. For anything other than Custom Range, this is evaluated at the time when it's queried.

Declaration
public RVDateRange Range { get; set; }
Property Value
Type Description
RVDateRange

The date range used for filtering.

Rule

The date rule used for filtering.

Declaration
public RVDateRule Rule { get; }
Property Value
Type Description
RVDateRule