Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Constructors

Protected constructor

Properties

Optional animation

animation: AnimationState

Private ctx

ctx: CanvasRenderingContext2D

dataPerTick

dataPerTick: number = 0

direction

direction: AxeDirection

dirtyLabels

dirtyLabels: boolean = true

Protected labelsCount

labelsCount: number = 0

Protected oldDataPerTick

oldDataPerTick: number = 0

Protected state

state: ChartState

Accessors

options

options:

Methods

Private animate

  • animate(dataPerTick: number, onFinish?: undefined | function): void
  • Parameters

    • dataPerTick: number
    • Optional onFinish: undefined | function

    Returns void

animateToBounds

  • animateToBounds(bounds: T, onFinish?: undefined | function): void
  • Parameters

    • bounds: T
    • Optional onFinish: undefined | function

    Returns void

Abstract calcDataPerTick

  • calcDataPerTick(dataBounds: T): number
  • Parameters

    • dataBounds: T

    Returns number

Abstract clear

  • clear(ctx: CanvasRenderingContext2D): void
  • Parameters

    • ctx: CanvasRenderingContext2D

    Returns void

Protected Abstract getDimension

  • getDimension(bounds: Bounds): number
  • Parameters

    Returns number

Abstract getLinePoints

Abstract getMaxPossibleLabels

  • getMaxPossibleLabels(): number
  • Returns number

Abstract getValueFrom

  • getValueFrom(dataPerTick: number): number
  • Parameters

    • dataPerTick: number

    Returns number

Abstract getValueTo

  • getValueTo(dataPerTick: number): number
  • Parameters

    • dataPerTick: number

    Returns number

updateDataPerTick

  • updateDataPerTick(): void
  • Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc