API Docs for: 3.5.1
Show:

Fills Class

Defined in: charts/js/Fills.js:1
Module: charts

Utility class used for drawing area fills.

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

_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

(
  • visible
)
private

Toggles visibility

Parameters:

  • visible Boolean

    indicates visibilitye

drawAreaSpline

() protected

Draws a fill for a spline

drawFill

(
  • xcoords
  • ycoords
)
protected

Draws fill

Parameters:

  • xcoords Array

    The x-coordinates for the series.

  • ycoords Array

    The y-coordinates for the series.

drawStackedAreaSpline

() protected

Draws a a stacked area spline

Properties

_defaults

Object private

Storage for default area styles.