3.0.4 • Published 4 years ago
presentation-chart v3.0.4
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