dundas.controls.GaugeLabelStyle Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.GaugeLabelStyle
 

Constructors

 
  Name Description
init Initializes the scale. Called during construction.
 
 

Properties

 
  Name Description
distanceFromScale Gets or sets the distance from the scale.
fontColor Gets or sets the font color or brush.
fontFamily Gets or sets the font family.
fontSize Gets or sets the font size.
fontStyle Gets or sets the font style.
fontWeight Gets or sets the font weight.
interval Gets or sets the interval.
intervalCount Gets or sets the interval count.
intervalOffset Gets or sets the interval offset.
isEndLabelVisible Gets or sets the visibility for the end label.
isStartLabelVisible Gets or sets the visibility of the start label.
isVisible Gets or sets the visibility of the tick marks.
labelBillionsFormat Gets or sets the format for labels that are multiples of a billion.
labelFormat Gets or sets the format of the label.
labelMillionsFormat Gets or sets the format for labels that are a multiples of a million.
labelSymbol Gets or sets the text displaced before or after the values in the labels.
labelSymbolPlacement Gets or sets whether the label symbol is placed before or after the value.
labelThousandsFormat Gets or sets the format for values that are a multiple of a thousand.
labelTrillionsFormat Gets or sets the format for values that are a multiple of a trillion.
opacity Gets or sets the percentage of opacity of gauge scale labels.
parentControl Gets the parent control of this style.
placement Gets or sets the placement of the tick mark style.
shouldRotateLabels Gets or sets a value indicating whether to rotate labels.
spacing Gets or sets the spacing between the longest tick mark and the labels. Only used if distance from scale is null.
useRangeFill Gets or sets a value indicating whether to use the range fill.
zIndex Gets or sets an index that can be used to customize the placement of the labels in front of or behind other gauge elements. Elements with a higher z-index are drawn on top of elements with a lower z-index.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getDisplayedValue Gets the text to be displayed for a label. The value is will be formatted if any format is specified.
invalidate Ensures the gauge is re-drawn using the current data and settings at the next best time made available by the browser. This method is normally called automatically when needed.
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.