dundas.controls.GaugeScale Class

Determines how gauge elements are positioned and displays value reference points.
 

Inheritance Hierarchy

 
Class
   dundas.controls.GaugeScale
      dundas.controls.GaugeLinearScale
      dundas.controls.GaugeRadialScale
 

Constructors

 
  Name Description
init Initializes the scale. Called during construction.
 
 

Properties

 
  Name Description
barFill Gets or sets the scale bar fill.
barOpacity Gets or sets the percentage of opacity of the scale bar.
barStroke Gets or sets the stroke of the scale bar.
barStrokeWidth Gets or sets the stroke width of the scale bar in pixels.
barWidth Gets or sets the width of the scale bar.
barZIndex Gets or sets an index that can be used to customize the placement of the scale bar 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.
id Gets a value uniquely identifying this scale.
interval Gets or sets the interval.
intervalCount Gets or sets the interval count.
intervalMinimumLength Gets or sets the minimum length in pixels reserved between each label and major tick mark.
intervalOffset Gets or sets the interval offset.
isBarVisible Gets or sets the visibility of the bar.
isMinMaxRounded Gets or sets a value indicating whether the minimum and maximum values are rounded.
isReversed Gets or sets a value indicating whether the scale should be reversed.
isVisible Gets or sets the visibility of the scale.
labelStyle Gets or sets the style of the labels on the scale.
majorTickMarkStyle Gets or sets the style of the major tick marks.
maximum Gets or sets the maximum value on the scale.
maximumPin Gets or sets the settings for a pin at the maximum value of the scale.
minimum Gets or sets the minimum value on the scale.
minimumPin Gets or sets the settings for a pin at the minimum value of the scale.
minorTickMarkStyle Gets or sets the style of the minor tick marks.
multiplier Gets or sets a value by which to multiply displayed values.
opacity Gets or sets the opacity of the scale.
parentControl Gets the parent control of this scale.
 
 

Methods

 
  Name Description
addAlignedScale Aligns the specified scale range with that of this scale.
clearAlignedScales Removes all scales added as aligned scales.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getAlignedScales Gets the scales that were added as aligned to this scale instance.
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.
isAlignedWith Gets a value indicating whether the specified scale has been added as aligned with this instance.
removeAlignedScale Removes the specified scale from the scales aligned with this instance.
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.