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:
-
xScaleFunctiona d3 scale
-
yScaleFunctiona d3 scale
-
interpolatorStringthe name of the d3 interpolator to use.
Returns:
Function:
a function that when called will create SVG path data.
