Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

animation

animation: AnimationState | undefined

dataBounds

dataBounds: Bounds

options

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

createAnimation

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

draw

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

    Returns void

Protected drawHelper

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

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

    Returns void

finishAnimation

  • finishAnimation(): void

getOption

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

    • K: keyof LineDataSetConfig

    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

Object literals

lineStyle

lineStyle: object

color

color: string = this.getOption('color')

lineWidth

lineWidth: number = this.getOption('lineWidth')

opacity

opacity: number = this.getOption('opacity')

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