Skip to main content
A newer version of this page is available. .

KpiElement Class

Declaration

export class KpiElement extends SerializableModel implements IBindingModelProvider

Inheritance

KpiElement

constructor(dataItemProvider)

Initializes a new instance of the KpiElement class with specified settings.

Declaration

constructor(
    dataItemProvider: DataDashboardItem,
    modelJson?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
dataItemProvider DataDashboardItem
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

absoluteVariationNumericFormat Property

Declaration

absoluteVariationNumericFormat: AbsoluteVariationNumericFormat

Property Value

Type
AbsoluteVariationNumericFormat

actualValue Property

Declaration

actualValue: KnockoutObservable<Measure>

Property Value

Type
KnockoutObservable<Measure>

deltaOptions Property

Declaration

deltaOptions: DeltaOptions

Property Value

Type
DeltaOptions

itemType Property

Declaration

itemType: KnockoutObservable<string>

Property Value

Type
KnockoutObservable<string>

name Property

Declaration

name: KnockoutObservable<string>

Property Value

Type
KnockoutObservable<string>

percentOfTargetNumericFormat Property

Declaration

percentOfTargetNumericFormat: PercentOfTargetNumericFormat

Property Value

Type
PercentOfTargetNumericFormat

percentVariationNumericFormat Property

Declaration

percentVariationNumericFormat: PercentVariationNumericFormat

Property Value

Type
PercentVariationNumericFormat

targetValue Property

Declaration

targetValue: KnockoutObservable<Measure>

Property Value

Type
KnockoutObservable<Measure>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo