dundas.controls.DiscreteSizeRule Class

A binding rule that maps a discrete data value into a size value.
 

Inheritance Hierarchy

 
Class
   dundas.controls.BindingRule
      dundas.controls.SizeBindingRule
         dundas.controls.DiscreteSizeRule
 

Constructors

 
  Name Description
init Initializes a new instance of the DiscreteSizeRule class. A discrete rule is a 1:1 mapping of a category to an output value. Inherited from dundas.controls.BindingRule.
 
 

Properties

 
  Name Description
caption Gets or sets an optional display value or array of display values for dataValue.
classes Gets the current set of data binding classes for this rule. Inherited from dundas.controls.BindingRule.
dataValue Gets or sets the data value this rule applies to.
isDisplayedInLegend Gets or sets a value indicating whether this rule is displayed in the legend. Inherited from dundas.controls.BindingRule.
legendCategory Gets or sets the category within which to group legend items displaying this binding rule's classes. Inherited from dundas.controls.BindingRule.
value Gets or sets the size value for the this rule's data value.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Returns a string representation of this object.