dundas.controls.DiagramLabelSettings Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.DiagramLabelSettings
      dundas.controls.RelationshipDiagramLabelSettings
      dundas.controls.SankeyDiagramLabelSettings
      dundas.controls.TreeDiagramLabelSettings
 

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.
outsideCanOverlapData Gets or sets a value indicating whether the label can be placed outside even if forced to overlap with a data point.
outsideCanOverlapLabels Gets or sets a value indicating whether the label can be placed outside even if forced to overlap with other labels.
placement Gets or sets the placement used to position the label relative to its data point.
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.
 
 

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.