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

WeightedLegend Class

Declaration

export class WeightedLegend extends MapLegendBase

Inherited Members

Inheritance

MapLegendBase
WeightedLegend

constructor

Initializes a new instance of the WeightedLegend class.

Declaration

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

Parameters

Name Type Description
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

type Property

Declaration

type: ko.Observable<WeightedLegendType>

Property Value

Type
Observable<WeightedLegendType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray