Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AreaPlot

Area plot

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

data

data: PlotData

id

id: string | number

options

scale

scale: Scale

Accessors

offset

  • get offset(): number

Methods

plot

  • plot(ctx: CanvasRenderingContext2D, scale: Scale): void
  • Renders area plot to canvas context

    Parameters

    • ctx: CanvasRenderingContext2D

      canvas context instance

    • scale: Scale

      y-scale

    Returns void

setData

setOption

  • setOption(key: string, value: any): Plot

setOptions

  • setOptions(options: any): Plot

setRange

Generated using TypeDoc