Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Constructors

Protected constructor

Properties

Private _isVisible

_isVisible: boolean = true

Private _name

_name: string

Private _rangedDataReader

Private _rawDataReader

_rawDataReader: AbstractDataReader

Private _scaleY

_scaleY: number = 1

Private Optional _stateTo

_stateTo: ReadonlyArray<number>

animation

animation: AnimationState | undefined

dataBounds

dataBounds: Bounds

Private defaultOptions

defaultOptions: Partial<T>

options

options: T

Protected path

path: Path2D

shouldBeVisible

shouldBeVisible: boolean = true

state

state: number[] = []

Optional stateFrom

stateFrom: ReadonlyArray<number>

type

Accessors

dataReader

dataReader:

isVisible

isVisible:

name

name:

scaleY

scaleY:

stateTo

stateTo:

Methods

cancelAnimation

  • cancelAnimation(): void
  • Returns void

createAnimation

  • createAnimation(ctx: CanvasRenderingContext2D[], duration: number): AnimationState
  • Parameters

    • ctx: CanvasRenderingContext2D[]
    • duration: number

    Returns AnimationState

draw

  • draw(ctx: CanvasRenderingContext2D, state: ChartState, animation: AnimationState<number> | undefined, transform: DOMMatrix): void
  • Parameters

    Returns void

Protected Abstract drawHelper

  • drawHelper(ctx: CanvasRenderingContext2D, state: ChartState, transform: DOMMatrix): void
  • Parameters

    • ctx: CanvasRenderingContext2D
    • state: ChartState
    • transform: DOMMatrix

    Returns void

finishAnimation

  • finishAnimation(): void
  • Returns void

getOption

  • getOption<K>(option: K): T[K]
  • Type parameters

    • K: keyof T

    Parameters

    • option: K

    Returns T[K]

setAnimationStateTo

  • setAnimationStateTo(state: ReadonlyArray<number> | undefined): void
  • Parameters

    • state: ReadonlyArray<number> | undefined

    Returns void

setPath

  • setPath(path: Path2D, state: number[] | undefined): void
  • Parameters

    • path: Path2D
    • state: number[] | undefined

    Returns void

updateVBounds

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