Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Line

Type parameters

  • T

Hierarchy

  • Line

Callable

  • __call(data: T[]): string

Index

Methods

defined

  • defined(): function
  • defined(defined: function): Line<T>
  • Returns function

      • (d: T, i: number): boolean
      • Parameters

        • d: T
        • i: number

        Returns boolean

  • Parameters

    • defined: function
        • (d: T, i: number): boolean
        • Parameters

          • d: T
          • i: number

          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>

tension

  • tension(): number
  • tension(tension: number): Line<T>

x

  • x(): number | function
  • x(x: number): Line<T>
  • x(x: function): Line<T>

y

  • y(): number | function
  • y(x: number): Line<T>
  • y(y: function): Line<T>

Generated using TypeDoc