dundas.controls.LegendColorScaleSettings Class

Customizes the appearance settings for a color scale displayed in a legend.
 

Inheritance Hierarchy

 
Class
   dundas.controls.LegendColorScaleSettings
 

Constructors

 
  Name Description
init Initializes the legend color scale settings. Called during construction.
 
 

Properties

 
  Name Description
barWidth Gets or sets the width of the scale bar in pixels.
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.
height Gets or sets the height of the color scale including labels in pixels.
intervalCount Gets or sets the interval count.
intervalMinimumLength Gets or sets the minimum length in pixels reserved between each label and tick mark.
labelBillionsFormat Gets or sets the format for labels that are multiples of a billion.
labelMillionsFormat Gets or sets the format for labels that are a multiples of a million.
labelSpacing Gets or sets the spacing between the longest tick mark and the labels.
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.
orientation Gets or sets the orientation of the scale.
padding Gets or sets the padding for the color scale legend item.
parentControl Gets the legend.
tickLength Gets or sets the length of the tick marks.
tickPlacement Gets or sets the placement of the tick marks.
tickStroke Gets or sets the brush used to draw the tick marks.
tickStrokeWidth Gets or sets the stroke width of the tick marks in pixels.
width Gets or sets the width of the color scale including labels in pixels.
 
 

Methods

 
  Name Description
applyNullableDefaults Applies default values to nullable properties, which will initially be null after construction.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
invalidate Ensures the legend is re-drawn using the current 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. A string representation of this object.