Fills Class
Utility class used for drawing area fills.
Item Index
Methods
Properties
Methods
_getAreaDefaults
()
private
Returns default values for area styles.
Returns:
Object
_getClosingPoints
()
protected
Concatenates coordinate array with correct coordinates for closing an area fill.
Returns:
Array
_getCoordsByOrderAndIndex
(
private
-
seriesCollection
-
index
-
order
-
direction
Returns an array containing the x and y coordinates for a given series and index.
Parameters:
Returns:
Array
_getHighestValidOrder
(
private
-
seriesCollection
-
index
-
order
-
direction
Returns the order of the series closest to the current series that has a valid value for the current index.
Parameters:
Returns:
Number
_getPath
()
private
Returns a path shape used for drawing fills.
Returns:
Path
_getStackedClosingPoints
()
protected
Concatenates coordinate array with the correct coordinates for closing an area stack.
Returns:
Array
_toggleVisible
(
private
-
visible
Toggles visibility
Parameters:
-
visible
Booleanindicates visibilitye
drawAreaSpline
()
protected
Draws a fill for a spline
drawFill
(
protected
-
xcoords
-
ycoords
Draws fill
drawStackedAreaSpline
()
protected
Draws a a stacked area spline