mixins.graph-area-utils Class
Utility functions for drawing an area.
Item Index
Methods
Methods
createAreaFn
(
Function
-
xScale
-
yScale
-
interpolator
Creates a d3 area function from a given set of scales and an interpolator
Parameters:
-
xScale
Functiona d3 scale
-
yScale
Functiona d3 scale
-
interpolator
Stringthe name of the d3 interpolator to use.
Returns:
Function:
a function that when called will create SVG path data.