Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Stack

Type parameters

  • Series

  • Value

Hierarchy

  • Stack

Callable

  • __call(layers: Series[], index?: number): Series[]

Index

Methods

Methods

offset

  • offset(): function
  • offset(offset: "silhouette"): Stack<Series, Value>
  • offset(offset: "wiggle"): Stack<Series, Value>
  • offset(offset: "expand"): Stack<Series, Value>
  • offset(offset: "zero"): Stack<Series, Value>
  • offset(offset: string): Stack<Series, Value>
  • offset(offset: function): Stack<Series, Value>

order

  • order(): function
  • order(order: "inside-out"): Stack<Series, Value>
  • order(order: "reverse"): Stack<Series, Value>
  • order(order: "default"): Stack<Series, Value>
  • order(order: string): Stack<Series, Value>
  • order(order: function): Stack<Series, Value>

out

  • out(): function
  • out(setter: function): Stack<Series, Value>
  • Returns function

      • (value: Value, y0: number, y: number): void
      • Parameters

        • value: Value
        • y0: number
        • y: number

        Returns void

  • Parameters

    • setter: function
        • (value: Value, y0: number, y: number): void
        • Parameters

          • value: Value
          • y0: number
          • y: number

          Returns void

    Returns Stack<Series, Value>

values

  • values(): function
  • values(accessor: function): Stack<Series, Value>
  • Returns function

      • (layer: Series, index: number): Value[]
      • Parameters

        • layer: Series
        • index: number

        Returns Value[]

  • Parameters

    • accessor: function
        • (layer: Series, index: number): Value[]
        • Parameters

          • layer: Series
          • index: number

          Returns Value[]

    Returns Stack<Series, Value>

x

  • x(): function
  • x(accessor: function): Stack<Series, Value>
  • Returns function

      • (value: Value, index: number): number
      • Parameters

        • value: Value
        • index: number

        Returns number

  • Parameters

    • accessor: function
        • (value: Value, index: number): number
        • Parameters

          • value: Value
          • index: number

          Returns number

    Returns Stack<Series, Value>

y

  • y(): function
  • y(accesor: function): Stack<Series, Value>
  • Returns function

      • (value: Value, index: number): number
      • Parameters

        • value: Value
        • index: number

        Returns number

  • Parameters

    • accesor: function
        • (value: Value, index: number): number
        • Parameters

          • value: Value
          • index: number

          Returns number

    Returns Stack<Series, Value>

Generated using TypeDoc