Skip to main content

WeightedLegend Class

Declaration

export class WeightedLegend extends MapLegendBase

Inherited Members

Inheritance

constructor

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

type Property

Declaration

type: ko.Observable<DevExpress.Dashboard.Model.WeightedLegendType>

Property Value

Type
Observable<WeightedLegendType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.