Skip to main content

RankCalculation Class

Declaration

export class RankCalculation extends MeasureCalculation

Inherited Members

Inheritance

constructor

Initializes a new instance of the RankCalculation class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

name Property

Declaration

get name(): string

Property Value

Type
string

rankOrder Property

Declaration

rankOrder: ko.Observable<DevExpress.Dashboard.Model.RankOrder>

Property Value

Type
Observable<RankOrder>

rankType Property

Declaration

rankType: ko.Observable<DevExpress.Dashboard.Model.RankType>

Property Value

Type
Observable<RankType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.