Browse Source

chore(version): bump to v0.4.17

pull/2149/head v0.4.17
Yoshiya Hinosawa 7 years ago
parent
commit
8e223a94a1
  1. 2
      .bmp.yml
  2. 6
      c3.js
  3. 2
      c3.min.js
  4. 2
      component.json
  5. 2
      package.json
  6. 2
      src/core.js

2
.bmp.yml

@ -1,5 +1,5 @@
---
version: 0.4.16
version: 0.4.17
commit: 'chore(version): bump to v%.%.%'
files:
src/core.js: 'version: "%.%.%"'

6
c3.js

@ -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;
@ -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,
@ -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),
@ -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) {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
component.json

@ -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"

2
package.json

@ -1,6 +1,6 @@
{
"name": "c3",
"version": "0.4.16",
"version": "0.4.17",
"description": "D3-based reusable chart library",
"main": "c3.js",
"scripts": {

2
src/core.js

@ -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;

Loading…
Cancel
Save