Skip to content

Commit

Permalink
chore(version): bump to v0.4.17
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Aug 19, 2017
1 parent df00d38 commit 8e223a9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bmp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.4.16
version: 0.4.17
commit: 'chore(version): bump to v%.%.%'
files:
src/core.js: 'version: "%.%.%"'
Expand Down
6 changes: 4 additions & 2 deletions c3.js
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ Axis.prototype.redraw = function redraw(transitions, isHidden) {
transitions.axisSubX.call($$.subXAxis);
};

var c3$1 = { version: "0.4.16" };
var c3$1 = { version: "0.4.17" };

var c3_chart_fn;
var c3_chart_internal_fn;
Expand Down Expand Up @@ -5093,6 +5093,7 @@ c3_chart_internal_fn.getDefaultConfig = function () {
bar_width_ratio: 0.6,
bar_width_max: undefined,
bar_zerobased: true,
bar_space: 0,
// area
area_zerobased: true,
area_above: false,
Expand Down Expand Up @@ -7750,6 +7751,7 @@ c3_chart_internal_fn.generateGetBarPoints = function (barIndices, isSub) {
barX = $$.getShapeX(barW, barTargetsNum, barIndices, !!isSub),
barY = $$.getShapeY(!!isSub),
barOffset = $$.getShapeOffset($$.isBarType, barIndices, !!isSub),
barSpaceOffset = barW * ($$.config.bar_space / 2),
yScale = isSub ? $$.getSubYScale : $$.getYScale;
return function (d, i) {
var y0 = yScale.call($$, d.id)(0),
Expand All @@ -7764,7 +7766,7 @@ c3_chart_internal_fn.generateGetBarPoints = function (barIndices, isSub) {
}
}
// 4 points that make a bar
return [[posX, offset], [posX, posY - (y0 - offset)], [posX + barW, posY - (y0 - offset)], [posX + barW, offset]];
return [[posX + barSpaceOffset, offset], [posX + barSpaceOffset, posY - (y0 - offset)], [posX + barW - barSpaceOffset, posY - (y0 - offset)], [posX + barW - barSpaceOffset, offset]];
};
};
c3_chart_internal_fn.isWithinBar = function (that) {
Expand Down
2 changes: 1 addition & 1 deletion c3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "c3",
"repo": "masayuki0812/c3",
"description": "A D3-based reusable chart library",
"version": "0.4.16",
"version": "0.4.17",
"keywords": [],
"dependencies": {
"mbostock/d3": "v3.5.6"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "c3",
"version": "0.4.16",
"version": "0.4.17",
"description": "D3-based reusable chart library",
"main": "c3.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axis from './axis';
import CLASS from './class';
import { isValue, isFunction, isString, isUndefined, isDefined, ceil10, asHalfPixel, diffDomain, isEmpty, notEmpty, getOption, hasValue, sanitise, getPathBox } from './util';

export var c3 = { version: "0.4.16" };
export var c3 = { version: "0.4.17" };

export var c3_chart_fn;
export var c3_chart_internal_fn;
Expand Down

0 comments on commit 8e223a9

Please sign in to comment.