Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TickGenerator<D>

Type parameters

  • D

Hierarchy

Index

Constructors

constructor

Methods

Abstract count

  • Returns number

  • Parameters

    • n: number

    Returns TickGenerator<D>

Abstract domain

  • Returns Domain<D>

  • Parameters

    Returns TickGenerator<D>

  • Parameters

    • x0: D
    • x1: D

    Returns TickGenerator<D>

format

  • format(tickValue: D): string
  • Parameters

    • tickValue: D

    Returns string

Abstract generate

  • generate(): D[]
  • Returns D[]

Static fromScale

  • Type parameters

    • D

    Parameters

    Returns TickGenerator<D>

Static step

  • step(dx: number, n: number): number
  • Parameters

    • dx: number
    • n: number

    Returns number

Generated using TypeDoc