Skip to main content

MapLegendBase Class

Declaration

export abstract class MapLegendBase extends SerializableModel

Inherited Members

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<DevExpress.Dashboard.Model.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

abstract getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.