The CartesianChart class creates a chart with horizontal and vertical axes.
_addAxesAdds axes to the chart.
_addGridlinesAdds gridlines to the chart.
_addSeriesRenders the Graph.
_addToAxesCollectionposition
axis
Adds axis instance to the appropriate array based on position
_addToAxesRenderQueueaxis
Adds an Axis instance to the _itemRenderQueue.
axis
Axis
An Axis instance.
_getAllKeysdp
Returns all the keys contained in a dataProvider.
dp
Array
Collection of objects to be parsed.
_getAriaMessagekey
Returns the appropriate message based on the key press.
key
Number
The keycode that was pressed.
_getBaseAttributeitem
key
Gets an attribute from an object, using a getter for Base objects and a property for object literals. Used for determining attributes from series/axis references which can be an actual class instance or a hash of properties that will be used to create a class instance.
_getBottomOverflowset1
set2
height
Returns the maximum distance in pixels that the extends outside the bottom bounds of all vertical axes.
_getCategoryAxisReturns the category axis instance for the chart.
_getDefaultAxesDefault Function for the axes attribute.
_getDefaultAxisPositionaxis
valueAxes
position
Determines the position of an axis when one is not specified.
_getDefaultSeriesCollectionval
Returns the default value for the seriesCollection attribute.
val
Array
Array containing either CartesianSeries instances or objects containing data to construct series instances.
_getLeftOverflowset1
set2
width
Returns the maximum distance in pixels that the extends outside the left bounds of all horizontal axes.
_getRightOverflowset1
set2
width
Returns the maximum distance in pixels that the extends outside the right bounds of all horizontal axes.
_getSeriesAxiskey
Returns the value axis for a series.
key
String
The key value used to determine the axis instance.
_getTopOverflowset1
set2
width
Returns the maximum distance in pixels that the extends outside the top bounds of all vertical axes.
_parseAxesaxes
Generates and returns a key-indexed object containing Axis instances or objects used to create Axis instances.
axes
Object
Object containing Axis instances or Axis attributes.
_parseSeriesAxesseries
Parse and sets the axes for a series instance.
series
CartesianSeries
A CartesianSeries instance.
_parseSeriesCollectionval
Parses and returns a series collection from an object and default properties.
val
Object
Object contain properties for series being set.
_planarEventDispatchere
When interactionType is set to planar, listens for mouse move events and fires planarEvent:mouseover or planarEvent:mouseout depending on the position of the mouse in relation to
data points on the Chart.
e
Object
Event object.
_redrawRedraws and position all the components of the chart instance.
_setAxesval
Creates Axis instances.
val
Object
Object containing Axis instances or objects in which to construct Axis instances.
_setBaseAttributeitem
key
value
Sets an attribute on an object, using a setter of Base objects and a property for object literals. Used for setting attributes on a Base class, either directly or to be stored in an object literal for use at instantiation.
destructorDestructor implementation for the CartesianChart class. Calls destroy on all axes, series and the Graph instance. Removes the tooltip and overlay HTML elements.
getSeriesItemsseries
index
Returns an object literal containing a categoryItem and a valueItem for a given series index. Below is the structure of each:
series
CartesianSeries
Reference to a series.
index
Number
Index of the specified item within a series.
renderUI_itemRenderQueueQueue of axes instances that will be updated. This method is used internally to determine when all axes have been updated.
allowContentOverflowIndicates whether axis labels are allowed to overflow beyond the bounds of the chart's content box.
allowContentOverflowChange
Fires when the value for the configuration attribute allowContentOverflow is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
axesAxes to appear in the chart. This can be a key indexed hash of axis instances or object literals used to construct the appropriate axes.
axesChange
Fires when the value for the configuration attribute axes is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
axesStylesStyle object for the axes.
axesStylesChange
Fires when the value for the configuration attribute axesStyles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
bottomAxesCollectionReference to the bottom-aligned axes for the chart.
bottomAxesCollectionChange
Fires when the value for the configuration attribute bottomAxesCollection is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
categoryAxisReference to the category axis used by the chart.
categoryAxisChange
Fires when the value for the configuration attribute categoryAxis is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
categoryAxisNameIndicates the key value used to identify a category axis in the axes hash. If
not specified, the categoryKey attribute value will be used.
categoryAxisNameChange
Fires when the value for the configuration attribute categoryAxisName is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
directionDirection of chart's category axis when there is no series collection specified. Charts can be horizontal or vertical. When the chart type is column, the chart is horizontal. When the chart type is bar, the chart is vertical.
directionChange
Fires when the value for the configuration attribute direction is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
graphStylesStyles for the graph.
graphStylesChange
Fires when the value for the configuration attribute graphStyles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
horizontalGridlinesReference to the horizontalGridlines for the chart.
horizontalGridlinesChange
Fires when the value for the configuration attribute horizontalGridlines is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
leftAxesCollectionReference to the left-aligned axes for the chart.
leftAxesCollectionChange
Fires when the value for the configuration attribute leftAxesCollection is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
rightAxesCollectionReference to the right-aligned axes for the chart.
rightAxesCollectionChange
Fires when the value for the configuration attribute rightAxesCollection is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
seriesCollectionCollection of series to appear on the chart. This can be an array of Series instances or object literals used to construct the appropriate series.
seriesCollectionChange
Fires when the value for the configuration attribute seriesCollection is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
seriesStylesStyle object for the series
seriesStylesChange
Fires when the value for the configuration attribute seriesStyles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
showAreaFillIndicates whether or not an area is filled in a combo chart.
showAreaFillChange
Fires when the value for the configuration attribute showAreaFill is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
showLinesIndicates whether to display lines in a combo chart.
showLinesChange
Fires when the value for the configuration attribute showLines is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
showMarkersIndicates whether to display markers in a combo chart.
showMarkersChange
Fires when the value for the configuration attribute showMarkers is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
stackedIndicates whether or not the chart is stacked.
stackedChange
Fires when the value for the configuration attribute stacked is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
stylesStyle properties for the chart. Contains a key indexed hash of the following:
styles attribute for each series in the chart.
Specific style attributes vary depending on the series:
styles attribute for each axes in the chart. Specific
style attributes can be found in the Axis class.styles attribute in the chart. Specific style attributes can be found in the
Graph class.stylesChange
Fires when the value for the configuration attribute styles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
topAxesCollectionReference to the top-aligned axes for the chart.
topAxesCollectionChange
Fires when the value for the configuration attribute topAxesCollection is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
typeType of chart when there is no series collection specified.
typeChange
Fires when the value for the configuration attribute type is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
valueAxisNameIndicates the key value used to identify a the series axis when an axis not generated.
valueAxisNameChange
Fires when the value for the configuration attribute valueAxisName is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
verticalGridlinesReference to the verticalGridlines for the chart.
verticalGridlinesChange
Fires when the value for the configuration attribute verticalGridlines is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
planarEvent:mouseoutBroadcasts when interactionType is set to planar and a series' marker plane has received a mouseout event.
planarEvent:mouseoverBroadcasts when interactionType is set to planar and a series' marker plane has received a mouseover event.
e
EventFacade
Event facade with the following additional properties:
Axis of each marker whose plane has been intersected.Axis of each marker whose plane has been intersected.