0.1.1 • Published 5 years ago
@dboxjs/bars v0.1.1
Bar chart
Draws a bar chart using SVG figures
Bars.x()
Required Expects a column name to use as x axis
x('name'): Sets 'name' as column used
Info You should specify scale type in configuration object
var config {
xAxis: {
scale: 'ordinal'
}
}
Bars.y()
Required Expects a column name to use as y axis
__y('value'): Sets 'value' as column used
Info You should specify scale type in configuration object
var config {
yAxis: {
scale: 'linear'
}
}