Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DomainScale<QuantitativeSpan>
    • SequantialScale

Index

Constructors

constructor

  • Returns SequantialScale

Properties

Protected Optional bindDomainValue

bindDomainValue?: string

Protected Optional domainValue

domainValue?: DomainCreator<QuantitativeSpan>

Protected Optional nameValue

nameValue?: string

Accessors

Protected bindDomainArray

  • get bindDomainArray(): string[]

Protected defaultDomain

  • get defaultDomain(): Domain

Methods

build

  • build(arg: ScaleCreationContext): Scales
  • Parameters

    • arg: ScaleCreationContext

    Returns Scales

clamp

  • A boolean indicating if output values should be clamped to the range (default false). If clamping is disabled and the scale is passed a value outside the domain, the scale may return a value outside the range through extrapolation. If clamping is enabled, the output value of the scale is always within the scale’s range.

    Parameters

    • Optional value: boolean

    Returns SequantialScale

Protected createScale

  • createScale(args: ScaleCreationContext): Scales

domain

  • domain(arg?: string | QuantitativeSpan | DomainCreator<QuantitativeSpan>): SequantialScale
  • Sets the domain of the scale

    Parameters

    • Optional arg: string | QuantitativeSpan | DomainCreator<QuantitativeSpan>

      The domain argument

    Returns SequantialScale

Protected getDomain

  • getDomain(args: ScaleCreationContext): QuantitativeSpan
  • Parameters

    • args: ScaleCreationContext

    Returns QuantitativeSpan

interpolator

name

  • Sets the name of the scale

    Parameters

    • Optional value: string

      The name of the scale

    Returns SequantialScale

Protected processDomainValues

  • processDomainValues(values: any[]): QuantitativeSpan
  • Parameters

    • values: any[]

    Returns QuantitativeSpan