Skip to main content

MapLegendBase Class

#Declaration

TypeScript
export abstract class MapLegendBase extends SerializableModel

#Inherited Members

#constructor

Initializes a new instance of the MapLegendBase class.

#Declaration

TypeScript
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

TypeScript
position: ko.Observable<DevExpress.Dashboard.Model.MapLegendPosition>

#Property Value

Type
Observable<MapLegendPosition>

#visible Property

#Declaration

TypeScript
visible: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#Methods

#getInfo Method

For internal use.

#Declaration

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

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.