Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Latest commit

 

History

History
203 lines (129 loc) · 8.87 KB

index.md

File metadata and controls

203 lines (129 loc) · 8.87 KB

DocsAPI Reference

AbstractChart

Constructor

const chart = new AbstractChart(container[, options])

Fields
Event functions
Data functions
Size functions
Plate functions
Other functions
  • chart.destroy() - kill all event listeners and watchers. Useful for cleaning up when the chart is not needed anymore.

SvgChart

Constructor

const chart = new SvgChart(container[, options])

Fields
  • inherits from AbstractChart
  • chart.layers - return the LayerOrganizer.
  • chart.rootG - D3 selection of the root <g> element.
  • chart.svg - D3 selection of the <svg> element.

CanvasChart

Constructor

const chart = new CanvasChart(container[, options])

Fields
  • inherits from AbstractChart
  • chart.canvas - D3 selection of the <canvas> element.
Functions

HybridChart

Constructor

const chart = new HybridChart(container[, options])

Fields
  • inherits from CanvasChart
  • inherits from SvgChart
Functions
  • inherits from CanvasChart
  • inherits from SvgChart

AbstractPlate

Constructor

const plate = new AbstractPlate(node[, options])

Functions

CanvasPlate

Constructor

const plate = new CanvasPlate(node[, options])

Functions

DivPlate

Constructor

const plate = new DivPlate(node[, options])

Functions
  • inherits from AbstractPlate

SvgPlate

Constructor

const plate = new SvgPlate(node[, options])

Functions
  • inherits from AbstractPlate

LayerOrganizer

Constructor

const layers = new LayerOrganizer(container[, defaultTag])

Functions

helper

Functions