dundas.controls.MapLabelSettings Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapLabelSettings
      dundas.controls.MapPathLabelSettings
      dundas.controls.MapShapeLabelSettings
      dundas.controls.MapSymbolLabelSettings
 

Constructors

 
  Name Description
init Initializes the instance. Called during construction.
 
 

Properties

 
  Name Description
fontColor Gets or sets the color of the text displayed.
fontFamily Gets or sets the label's font family.
fontSize Gets or sets the label's font size.
fontStyle Gets or sets the label's font style.
fontWeight Gets or sets the label's font weight.
insideAlignment Gets or sets the vertical alignment of the text when inside a data point.
insideDarkColor Gets or sets the color of the text when displayed over its data, to contrast against light colors.
insideLightColor Gets or sets the color of the text when displayed over its data, to contrast against dark colors.
insideMargin The amount of space in pixels to leave empty between the label and the edge of the data point when placed inside.
outsideAlignment Gets or sets the alignment of the label relative its data point when placed outside.
placement Gets or sets the placement used to position the label relative to its data point.
showLabelsOnlyOnBound Determines if labels are only visible when there is data bound to the element.
text Gets or sets the text including keywords to display in the label.
textAlign Gets or sets the alignment of the text for labels with multiple lines of different lengths.
visible Determines if the labels are visible.
 
 

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.