Skip to main content

PercentOfTotalCalculation Class

Declaration

export class PercentOfTotalCalculation extends MeasureCalculation

Inherited Members

Inheritance

SerializableModel
MeasureCalculation
PercentOfTotalCalculation

constructor

Initializes a new instance of the PercentOfTotalCalculation 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

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.