API Docs for:
Show:

mixins.graph-line-utils Class

Extends Ember.Mixin
Module: utils/nf/array-helpers

Item Index

Methods

Methods

createLineFn

(
  • xScale
  • yScale
  • interpolate
)
Function

Create a d3 line function from a given scales and interpolation

Parameters:

  • xScale Function

    d3 scale function

  • yScale Function

    d3 scale function

  • interpolate String

    d3 interpolator name

Returns:

Function:

a d3 function that will create SVG path data from a given data set.