WeightedLegend Class
#Declaration
TypeScript
export class WeightedLegend extends MapLegendBase
#Inheritance
SerializableModel
MapLegendBase
WeightedLegend
#constructor
Initializes a new instance of the WeightedLegend
class.
#Declaration
TypeScript
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
An object used for dashboard deserialization. Do not pass this parameter directly. |
#Properties
#type Property
#Declaration
TypeScript
type: ko.Observable<DevExpress.Dashboard.Model.WeightedLegendType>
#Property Value
Type |
---|
Observable<Weighted |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |