Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChartTracer

Hierarchy

Index

Constructors

constructor

  • new ChartTracer(title?: undefined | string): ChartTracer

Methods

chart

depatch

  • depatch(x: number): void

deselect

  • deselect(sx: number, ex?: undefined | number): void
  • Stop selecting indices of the array.

    Parameters

    • sx: number

      The index to stop selecting inclusively from.

    • Optional ex: undefined | number

      The index to stop selecting inclusively to. If omitted, it will only stop selecting index sx.

    Returns void

destroy

  • destroy(): void

patch

  • patch(x: number, v?: any): void
  • Notify that a value has been changed.

    Parameters

    • x: number

      The index of the array.

    • Optional v: any

      The new value to change to.

    Returns void

reset

  • reset(): void

select

  • select(sx: number, ex?: undefined | number): void
  • Select indices of the array.

    Parameters

    • sx: number

      The index to select inclusively from.

    • Optional ex: undefined | number

      The index to select inclusively to. If omitted, it will only select index sx.

    Returns void

set

  • set(array1d?: any[]): void

Static delay

  • delay(lineNumber?: Number): void
  • Pause to show changes in all tracers.

    Parameters

    • Optional lineNumber: Number

      The line number to indicate when paused. If omitted, the line calling this method will be indicated.

    Returns void

Generated using TypeDoc