Skip to main content
A newer version of this page is available.
All docs
V19.2

DashboardSpecialValues Class

Provides access to dashboard special values.

Declaration

declare class DashboardSpecialValues

Remarks

Fields exposed by the DashboardSpecialValues class are introduced to identify various special values (such as null or Others values) that can be displayed within the dashboard. For instance, these values can be returned when performing the following actions.

Properties

ErrorValue Property

Represents an error value (for instance, this can be a calculated field value that cannot be evaluated).

Declaration

static readonly ErrorValue: string

Property Value

Type
string

NullValue Property

Represents a null value.

Declaration

static readonly NullValue: string

Property Value

Type
string

OlapNullValue Property

Represents a null value in OLAP mode.

Declaration

static readonly OlapNullValue: string

Property Value

Type
string

OthersValue Property

Represents an Others value.

Declaration

static readonly OthersValue: string

Property Value

Type
string

Methods

IsErrorValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.ErrorValue.

Declaration

static IsErrorValue(
    value: any
): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.ErrorValue; otherwise, false.

IsNullValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.NullValue.

Declaration

static IsNullValue(
    value: any
): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.NullValue; otherwise, false.

IsOlapNullValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.OlapNullValue.

Declaration

static IsOlapNullValue(
    value: any
): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.OlapNullValue; otherwise, false.

IsOthersValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.OthersValue.

Declaration

static IsOthersValue(
    value: any
): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.OthersValue; otherwise, false.