dundas.controls.Chart Class

The chart visualization control.
 

Inheritance Hierarchy

 
Class
   dundas.controls.DataControl
      dundas.controls.Chart
 

Properties

 
  Name Description
background Gets or sets the brush used to fill the background of the control. Inherited from dundas.controls.DataControl.
borderBrush Gets or sets the brush used to fill the border around the control. Inherited from dundas.controls.DataControl.
borderRadius Gets or sets the radius in pixels for rounding the corners of the border. Inherited from dundas.controls.DataControl.
borderStyle Gets or sets the style of the border around the control. Inherited from dundas.controls.DataControl.
borderWidth Gets or sets the width of the border around the control. Inherited from dundas.controls.DataControl.
canvasService Gets the canvas service associated with this control. Inherited from dundas.controls.DataControl.
colorRules Gets an array of rules determining how to color the data points of this series based on their values.
container Gets the DOM element this control will render to. Inherited from dundas.controls.DataControl.
dataChangeStaggerPercent Gets or sets a percentage representing the degree to which each data point's change is staggered separately from the others.
height Gets the current rendered height of the control. Inherited from dundas.controls.DataControl.
hoveredPoint Gets the data point currently hovered over, if any.
id Gets a unique value identifying this chart instance. Inherited from dundas.controls.DataControl.
innerPadding Gets the total padding reserved between the boundaries of the control and its content. Inherited from dundas.controls.DataControl.
isAligning Gets or sets a value indicating whether the control is currently being aligned. Inherited from dundas.controls.DataControl.
isAnimatedInStages Gets or sets a value indicating whether to animate increases in axis ranges, data point value changes, trends, and decreases in axis ranges in separate stages.
isAnimating Gets a value indicating whether this chart is currently animating.
isCircular Gets a value indicating whether the chart is currently displaying a circular (polar) coordinate system.
isDataChangeAnimated Gets or sets a value indicating whether to animate when data points enter, leave or change in value.
isDrawPending Gets a value indicating whether the control is about to re-draw. Inherited from dundas.controls.DataControl.
isLoadAnimated Gets or sets a value indicating whether to animate axes and data when the chart loads.
isSelecting Gets a value indicating whether the selection cursor is currently being used to select an area.
isTrendAnimated Gets or sets a value indicating whether to animate new data points in sequence indicating their trend.
isXYInverted Gets or sets a value indicating whether the X axes are plotted vertically and Y axes horizontally.
legend Gets or sets the legend used by this control. Inherited from dundas.controls.DataControl.
legendSortOrder Gets or sets the order of the legend items for series within the legend.
padding Gets or sets the padding reserved between the boundaries of the control and its content. Inherited from dundas.controls.DataControl.
palette Gets or sets an array of point styles to apply in sequence to data point series (and series groupings).
selectionCursor Gets an object that can be used to customize settings for the chart's selection cursor, used to select points or ranges within the plotting area.
series Gets an array of chart series, each used to display a series of data points.
transitionDuration Gets or sets the duration of animated transitions of chart elements in milliseconds.
transitionEasing Gets or sets the easing function used for animated transitions of chart elements.
trendDuration Gets or sets the duration of trend animations.
trendEasing Gets or sets the easing applied to the progression across the entire sequence of data points in a trend animation.
width Gets the current rendered width of the control. Inherited from dundas.controls.DataControl.
x2Axes Gets an array of the secondary X axes used by the chart.
xAxes Gets an array of the primary X axes used by the chart.
xAxis Gets or sets the chart's first primary X axis.
xViewport Gets or sets the settings for controlling the viewable range of the X axes.
y2Axes Gets an array of the secondary Y axes used by the chart.
yAxes Gets an array of the primary Y axes used by the chart.
yAxis Gets or sets the chart's first primary Y axis.
yViewport Gets or sets the settings for controlling the viewable range of the Y axes.
 
 

Methods

 
  Name Description
addSeries Adds series to the chart.
addX2Axes Adds secondary X axes to the chart.
addXAxes Adds primary X axes to the chart.
addY2Axes Adds secondary Y axes to the chart.
addYAxes Adds primary Y axes to the chart.
alignHorizontallyWith Aligns the content of this control horizontally with the specified control. Inherited from dundas.controls.DataControl.
alignVerticallyWith Aligns the content of this control vertically with the specified control. Inherited from dundas.controls.DataControl.
clearHorizontallyAligned Removes all controls from horizontal alignment with this instance. Inherited from dundas.controls.DataControl.
clearVerticallyAligned Removes all controls from vertical alignment with this instance. Inherited from dundas.controls.DataControl.
draw Re-draws the data control immediately if invalidated. This method is normally called automatically when needed. Inherited from dundas.controls.DataControl.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getHorizontallyAligned Gets an array of controls set to be horizontally aligned with this control. Inherited from dundas.controls.DataControl.

Static
getIsChartType Gets a value indicating whether the specified value is a value of ChartType.
getVerticallyAligned Gets an array of controls set to be vertically aligned with this control. Inherited from dundas.controls.DataControl.
hitTest Determines what data control element is represented at the specified position. Inherited from dundas.controls.DataControl.
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. Inherited from dundas.controls.DataControl.
invalidateSize Notifies the control that its container element size may have changed. Inherited from dundas.controls.DataControl.
isAlignedHorizontallyWith Gets a value indicating whether the specified control has been aligned horizontally with this instance. Inherited from dundas.controls.DataControl.
isAlignedVerticallyWith Gets a value indicating whether the specified control has been aligned vertically with this instance. Inherited from dundas.controls.DataControl.
onDOMDetach Called when the DOM element this control will render to is temporarily detached. Inherited from dundas.controls.DataControl.
onDOMReattach Called when the DOM element this control will render to is re-attached. Inherited from dundas.controls.DataControl.
pixelToValue Gets the value plotted by the specified axis at a plotting position along an axis.
plottingPixelsToScreenPixels Gets the pixel location in screen coordinates for the specified plotting coordinates returned by axes, which may be different if the X and Y axes are inverted or for circular charts.
removeHorizontallyAligned Removes the specified control from the list to be horizontally aligned with this control. Inherited from dundas.controls.DataControl.
removeSeriesAt Removes series starting at the specified index from the chart.
removeVerticallyAligned Removes the specified control from the list to be vertically aligned with this control. Inherited from dundas.controls.DataControl.
removeX2AxesAt Removes secondary X axes starting at the specified index from the chart.
removeXAxesAt Removes primary X axes starting at the specified index from the chart.
removeY2AxesAt Removes secondary Y axes starting at the specified index from the chart.
removeYAxesAt Removes primary Y axes starting at the specified index from the chart.
screenPixelsToPlottingPixels Gets the plotting location in coordinates used by chart axes for the specified screen pixel coordinates, which may be different where X and Y axes are inverted or for circular charts.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toNonVirtualPoint Converts a pixel position modified by the viewport if currently zoomed in to a position relative to the edges of the chart, converting a position along the chart's scrolled axes to a position as displayed by the screen.
toVirtualPoint Converts a screen pixel position to a position scrolled by the viewport, if currently zoomed in, so it can be placed along the entire lengths of the axes.
undoZoom Returns to the last zoom level and position before a change in the zoom level was made. If no previous zoom level is available, the viewport is zoomed out to display the entire chart.
valueToPixel Converts an axis value to a position along the axis used to plot it.
zoom Zooms into the chart so that the visible parts of the axes start and end at the positions of the specified values.