Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Log

Type parameters

  • Range

  • Output

Hierarchy

  • Log

Callable

  • __call(x: number): Output

Index

Methods

base

  • base(): number
  • base(base: number): Log<Range, Output>

clamp

  • clamp(): boolean
  • clamp(clamp: boolean): Log<Range, Output>

copy

  • copy(): Log<Range, Output>

domain

  • domain(): number[]
  • domain(numbers: number[]): Log<Range, Output>

interpolate

  • interpolate(): function
  • interpolate(factory: function): Log<Range, Output>
  • Returns function

      • (a: Range, b: Range): function
      • Parameters

        • a: Range
        • b: Range

        Returns function

          • (t: number): Output
          • Parameters

            • t: number

            Returns Output

  • Parameters

    • factory: function
        • (a: Range, b: Range): function
        • Parameters

          • a: Range
          • b: Range

          Returns function

            • (t: number): Output
            • Parameters

              • t: number

              Returns Output

    Returns Log<Range, Output>

invert

  • invert(y: number): number

nice

  • nice(): Log<Range, Output>

range

  • range(): Range[]
  • range(values: Range[]): Log<Range, Output>

rangeRound

  • rangeRound(values: number[]): Log<number, number>

tickFormat

  • tickFormat(count?: number, format?: string): function
  • Parameters

    • Optional count: number
    • Optional format: string

    Returns function

      • (t: number): string
      • Parameters

        • t: number

        Returns string

ticks

  • ticks(): number[]

Generated using TypeDoc