Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumberTickGenerator

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected dx

dx: number

Protected n

n: number

Protected x0

x0: number

Methods

count

  • Returns number

  • Parameters

    • n: number

    Returns NumberTickGenerator

domain

format

  • format(tickValue: number): string
  • Parameters

    • tickValue: number

    Returns string

generate

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

Static fromScale

Static interval

  • interval(dx: number, n?: number): number
  • Parameters

    • dx: number
    • Optional n: number

    Returns number

Static step

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

    • dx: number
    • n: number

    Returns number

Generated using TypeDoc