Module: areaChart

Builds an Area Chart.
Source:

Members

(inner) cs

The configuration of the coordinate system
Source:

(inner) svgContainer

The SVG that stores the chart
Source:

Methods

(inner) buildScales()

Builds the scales for the x and y axes
Source:

(inner) drawAxis()

Draws the x and y axes on the svg
Source:

(inner) enter(s)

Runs when a new element is added to the dataset
Parameters:
Name Type Description
s Object (svg element)
Source:

(inner) exit(s)

Runs when an element is removed from the dataset
Parameters:
Name Type Description
s Object (svg element)
Source:

(inner) getPoints(p)

Returns plot points
Parameters:
Name Type Description
p Object
Source:

(inner) transition(s)

Runs when a value of an element in dataset is changed
Parameters:
Name Type Description
s Object (svg element)
Source: