Module: areaChart

Builds an Area Chart.
Parameters:
Name Type Description
mode String (init / refresh)
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: