presentation-chart

3.0.4 • Public • Published

presentation-chart

A charting component based on Augmented Next Presentation

API

Table of Contents

HorizontalBarChartView

Extends Colleague

Horizonal Bar Chart

Parameters

  • options object Options passed

Examples

const chart = new HorizontalBarChartView({
 "title": "Dogs by Breed",
 "xTitle": "Dog",
 "yTitle": "Weight",
 "xStart": 0,
 "xEnd": 100,
 "yStart": 0,
 "yEnd": 100,
 "data": [{
  "X": "Poodle",
  "Y": 12,
  "style": "red"
 }]
});
* supported 'styles' = red, purple, yellow, blue, black, orange, green

VerticalBarChartView

Extends Colleague

Vertial Bar Chart

Parameters

  • options object Options passed

Examples

const chart = new VerticalBarChartView({
 "title": "Dogs by Breed",
 "xTitle": "Weight",
 "yTitle": "Breed",
 "xStart": 0,
 "xEnd": 100,
 "yStart": 0,
 "yEnd": 100,
 "data": [{
  "X": 12,
   "Y": "Poodle",
  "style": "blue"
 }]
});
* supported 'styles' = red, purple, yellow, blue, black, orange, green

Package Sidebar

Install

npm i presentation-chart

Weekly Downloads

15

Version

3.0.4

License

Apache-2.0

Unpacked Size

492 kB

Total Files

5

Last publish

Collaborators

  • thedocbwarren