Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _d3Scale

_d3Scale: any

Static Protected _DEFAULT_NUM_TICKS

_DEFAULT_NUM_TICKS: number

Methods

Protected _autoDomainIfAutomaticMode

  • _autoDomainIfAutomaticMode(): void

Protected _backingScaleDomain

  • _backingScaleDomain(): Date[]
  • _backingScaleDomain(values: Date[])

Protected _defaultExtent

  • _defaultExtent(): Date[]

Protected _dispatchUpdate

  • _dispatchUpdate(): void

Protected _expandSingleValueDomain

  • _expandSingleValueDomain(singleValueDomain: Date[]): Date[]

Protected _getAllIncludedValues

  • _getAllIncludedValues(): Date[]

Protected _getDomain

  • _getDomain(): Date[]

Protected _getExtent

  • _getExtent(): Date[]

Protected _getRange

  • _getRange(): number[]

Protected _niceDomain

  • _niceDomain(domain: Date[]): Date[]

Protected _setDomain

  • _setDomain(values: Date[]): void

Protected _setRange

  • _setRange(values: number[]): void

addIncludedValuesProvider

addPaddingExceptionsProvider

autoDomain

  • autoDomain()

defaultTicks

  • defaultTicks(): Date[]

domain

  • domain(): Date[]
  • domain(values: Date[])

domainMax

  • domainMax(): Date
  • domainMax(domainMax: Date)

domainMin

  • domainMin(): Date
  • domainMin(domainMin: Date)

extentOfValues

  • extentOfValues(values: Date[]): Date[]

getTransformationDomain

  • getTransformationDomain(): [number, number]

invert

  • invert(value: number): Date

invertedTransformation

  • invertedTransformation(value: number): number

offUpdate

onUpdate

padProportion

  • padProportion(): number
  • padProportion(padProportion: number)

pan

  • pan(translateAmount: number): void

range

  • range(): number[]
  • range(values: number[])

removeIncludedValuesProvider

removePaddingExceptionsProvider

scale

  • scale(value: Date): number

scaleTransformation

  • scaleTransformation(value: number): number

snappingDomainEnabled

  • snappingDomainEnabled(): boolean
  • snappingDomainEnabled(snappingDomainEnabled: boolean)

tickGenerator

tickInterval

  • tickInterval(interval: string, step?: number): Date[]
  • Returns an array of ticks values separated by the specified interval.

    Parameters

    • interval: string

      A string specifying the interval unit.

    • Optional step: number

    Returns Date[]

ticks

  • ticks(): Date[]

zoom

  • zoom(magnifyAmount: number, centerValue: number): void

Static timeIntervalToD3Time

  • timeIntervalToD3Time(timeInterval: string): Interval
  • Transforms the Plottable TimeInterval string into a d3 time interval equivalent. If the provided TimeInterval is incorrect, the default is d3.time.year

    Parameters

    • timeInterval: string

    Returns Interval

Generated using TypeDoc