dundas.controls.ChartAxisLabelStyle Class

Defines the appearance settings for the labels along an axis.
 

Inheritance Hierarchy

 
Class
   dundas.controls.ChartAxisLabelStyle
 

Constructors

 
  Name Description
init Initializes the axis label style. Called during construction.
 
 

Properties

 
  Name Description
angle Gets or sets the angle in degrees to rotate labels by.
autoFitMethods Gets or sets the auto-fit methods to use if isAutoFitEnabled is true.
autoFitMinimumFontSize Gets or sets the minimum allowable font size in pixels when autoFitMethods includes dundas.controls.ChartAxisLabelAutoFitMethods.DECREASE_FONT.
expanderColor Gets or sets the color of the expander button for axis labels that can be expanded.
fontColor Gets or sets the color used to draw the label text.
fontFamily Gets or sets the label font family.
fontSize Gets or sets the label font size in pixels.
fontStyle Gets or sets the label font style.
fontVariant Gets or sets the label font variant.
fontWeight Gets or sets the label font weight.
groupingColor Gets or sets the color used to draw lines to group multiple values together under a label.
isAngularMinimumLabeled Gets or sets a value indicating whether the minimum is labeled if this axis is the angular axis for a circular chart and the minimum and maximum are both located at the top; otherwise, the maximum will be labeled in this case.
isAutoFitEnabled Gets or sets a value indicating whether labels are automatically arranged to avoid overlapping.
isRadialLabeledOnLeft Gets or sets a value indicating whether labels are displayed on the left side of radial axes.
isVisible Gets or sets a value indicating whether labels are rendered.
maximumWidth Gets or sets the maximum width of each label in pixels, affecting the displayed text length.
opacity Gets or sets the label opacity.
perpendicularMargin Gets or sets the perpendicular margin between the first row of label text and the other elements of the axis.
textAlign Gets or sets the alignment of the text.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
invalidate Ensures the data control 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 Creates a string representation of this instance.