Skip to main content

MapLegend Class

#Declaration

TypeScript
export class MapLegend extends MapLegendBase

#Inherited Members

#Inheritance

#constructor

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

#orientation Property

#Declaration

TypeScript
orientation: ko.Observable<DevExpress.Dashboard.Model.MapLegendOrientation>

#Property Value

Type
Observable<MapLegendOrientation>

#Methods

#getInfo Method

For internal use.

#Declaration

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

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.