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)

Optional Parameters

Name Type Default Description
modelJson any null

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer null

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

position Property

Declaration

position: ko.Observable<MapLegendPosition>

Property Value

Type Description
ko.Observable<MapLegendPosition>

visible Property

Declaration

visible: ko.Observable<boolean>

Property Value

Type Description
ko.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.