Skip to main content

RankCalculation Class

#Declaration

TypeScript
export class RankCalculation extends MeasureCalculation

#Inherited Members

#Inheritance

#constructor

Initializes a new instance of the RankCalculation class.

#Declaration

TypeScript
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

TypeScript
get name(): string

#Property Value

Type
string

#rankOrder Property

#Declaration

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

#Property Value

Type
Observable<RankOrder>

#rankType Property

#Declaration

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

#Property Value

Type
Observable<RankType>

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.