Callable
- __call(data: T[]): string
-
Parameters
Returns string
Methods
defined
- defined(): function
- defined(defined: function): Line<T>
-
Returns function
-
- (d: T, i: number): boolean
-
Parameters
Returns boolean
-
Parameters
-
defined: function
-
- (d: T, i: number): boolean
-
Parameters
Returns boolean
Returns Line<T>
interpolate
- interpolate(): string | function
- interpolate(interpolate: "linear"): Line<T>
- interpolate(interpolate: "linear-closed"): Line<T>
- interpolate(interpolate: "step"): Line<T>
- interpolate(interpolate: "step-before"): Line<T>
- interpolate(interpolate: "step-after"): Line<T>
- interpolate(interpolate: "basis"): Line<T>
- interpolate(interpolate: "basis-open"): Line<T>
- interpolate(interpolate: "basis-closed"): Line<T>
- interpolate(interpolate: "bundle"): Line<T>
- interpolate(interpolate: "cardinal"): Line<T>
- interpolate(interpolate: "cardinal-open"): Line<T>
- interpolate(interpolate: "cardinal-closed"): Line<T>
- interpolate(interpolate: "monotone"): Line<T>
- interpolate(interpolate: string | function): Line<T>
-
Returns string
|
function
-
Parameters
Returns Line<T>
-
Parameters
-
interpolate: "linear-closed"
Returns Line<T>
-
Parameters
Returns Line<T>
-
Parameters
-
interpolate: "step-before"
Returns Line<T>
-
Parameters
-
interpolate: "step-after"
Returns Line<T>
-
Parameters
Returns Line<T>
-
Parameters
-
interpolate: "basis-open"
Returns Line<T>
-
Parameters
-
interpolate: "basis-closed"
Returns Line<T>
-
Parameters
Returns Line<T>
-
Parameters
Returns Line<T>
-
Parameters
-
interpolate: "cardinal-open"
Returns Line<T>
-
Parameters
-
interpolate: "cardinal-closed"
Returns Line<T>
-
Parameters
Returns Line<T>
-
Parameters
-
interpolate: string | function
Returns Line<T>
tension
- tension(): number
- tension(tension: number): Line<T>
-
Returns number
-
Parameters
Returns Line<T>
x
- x(): number | function
- x(x: number): Line<T>
- x(x: function): Line<T>
-
Returns number
|
function
-
Parameters
Returns Line<T>
-
Parameters
-
x: function
-
- (d: T, i: number): number
-
Parameters
Returns number
Returns Line<T>
y
- y(): number | function
- y(x: number): Line<T>
- y(y: function): Line<T>
-
Returns number
|
function
-
Parameters
Returns Line<T>
-
Parameters
-
y: function
-
- (d: T, i: number): number
-
Parameters
Returns number
Returns Line<T>