dundas.controls.AnnotationStyle Class

Defines settings available for customizing an annotation.
 

Inheritance Hierarchy

 
Class
   dundas.controls.AnnotationStyle
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
canOverlapData Gets or sets a value indicating whether the text can be placed even if forced to overlap with a data point.
canOverlapLabels Gets or sets a value indicating whether the text can be placed even if forced to overlap with other text.
fontColor Gets or sets the color of the text.
fontFamily Gets or sets the text's font family.
fontSize Gets or sets the text's font size.
fontStyle Gets or sets the text's font style.
fontWeight Gets or sets the text's font weight.
isIconShownWhenOverlapping Gets or sets a value indicating whether annotations that can't be displayed as text are shown as icons instead.
maxLength Gets or sets the maximum number of characters of text to display.
name Gets or sets the display name for this annotation.
stroke Gets or sets the brush used to draw the line leading to the annotation.
strokeWidth Gets or sets the width of the line leading to the annotation.
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.