MapLegendBase Class

Declaration

export class MapLegendBase extends SerializableModel

Inheritance

constructor

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

position Property

Declaration

position: ko.Observable<MapLegendPosition>

Property Value

Type
Observable<MapLegendPosition>

visible Property

Declaration

visible: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.