Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Scale

The scale interface supports a subset of the scale in d3js. It is defined to support using scaling functions that interpolates or otherwise changes the input values (decorator pattern).

Hierarchy

  • Scale

Callable

  • __call(v: number): number

Indexable

[propName: string]: any

Allow any other properties

Index

Methods

copy

domain

invert

  • invert(v: number): number

range

ticks

  • ticks(nTicks?: number): number[]
  • get a list of ticks based on scale domain and range, and optionally desired number of ticks

    Parameters

    • Optional nTicks: number

    Returns number[]

Generated using TypeDoc