CartesianSeries Class
The CartesianSeries class creates a chart with horizontal and vertical axes.
Item Index
Methods
Properties
Methods
_getDefaultColor
-
index
-
type
Parses a color based on a series order and type.
Parameters:
-
index
NumberIndex indicating the series order.
-
type
StringIndicates which type of object needs the color.
Returns:
_getDefaultStyles
()
protected
Gets the default value for the styles
attribute. Overrides
base implementation.
Returns:
_handleVisibleChange
-
e
Shows/hides contents of the series.
Parameters:
-
e
ObjectEvent object.
_setCanvas
()
protected
Creates a Graphic
instance.
_updateAxisData
()
private
Checks to ensure that both xAxis and yAxis data are available. If so, set the xData
and yData
attributes and return true
. Otherwise, return false
.
Returns:
_xAxisChangeHandler
-
e
Event handler for the xAxisChange event.
Parameters:
-
e
ObjectEvent object.
_xDataChangeHandler
-
event
Event handler for xDataChange event.
Parameters:
-
event
ObjectEvent object.
_yAxisChangeHandler
-
e
Event handler the yAxisChange event.
Parameters:
-
e
ObjectEvent object.
_yDataChangeHandler
-
event
Event handler for yDataChange event.
Parameters:
-
event
ObjectEvent object.
addListeners
()
private
Adds event listeners.
destructor
()
protected
Destructor implementation for the CartesianSeries class. Calls destroy on all Graphic instances.
draw
()
protected
Draws the series.
getTotalValues
()
Returns the sum of all values for the series.
Returns:
render
()
private
setAreaData
()
protected
Calculates the coordinates for the series.
validate
()
private
Draws the series is the xAxis and yAxis data are both available.
Properties
_bottomOrigin
String
private
The y-coordinate for the bottom edge of the series.
_defaultBorderColors
Array
protected
Collection of default colors used for marker borders in a series when not specified by user.
_defaultFillColors
Array
protected
Collection of default colors used for marker fills in a series when not specified by user.
_defaultLineColors
Array
protected
Collection of default colors used for lines in a series when not specified by user.
_defaultPlaneOffset
Number
private
Default value for plane offsets when the parent chart's interactiveType
is planar
.
_defaultSliceColors
Array
protected
Collection of default colors used for area fills, histogram fills and pie fills in a series when not specified by user.
_leftOrigin
String
private
Th x-coordinate for the left edge of the series.
_xDisplayName
String
private
Storage for xDisplayName
attribute.
_yDisplayName
String
private
Storage for yDisplayName
attribute.
GUID
String
private
Constant used to generate unique id.
Attributes
groupMarkers
Boolean
Indicates whether or not markers for a series will be grouped and rendered in a single complex shape instance.
xMarkerPlane
Array
Collection of area maps along the xAxis. Used to determine mouseover for multiple series.