Browse Source

chore(version): bump to v0.5.4

pull/2355/head v0.5.4
Yoshiya Hinosawa 7 years ago
parent
commit
5d358f3c76
  1. 2
      .bmp.yml
  2. 20
      c3.js
  3. 4
      c3.min.js
  4. 2
      component.json
  5. 4
      docs/index.html.haml
  6. 4
      docs/js/c3.min.js
  7. 2
      htdocs/samples/chart_bar_max_width.html
  8. 2
      package.json
  9. 2
      src/core.js

2
.bmp.yml

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

20
c3.js

@ -1,4 +1,4 @@
/* @license C3.js v0.5.3 | (c) C3 Team and other contributors | http://c3js.org/ */
/* @license C3.js v0.5.4 | (c) C3 Team and other contributors | http://c3js.org/ */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
@ -698,11 +698,14 @@
return id in config.data_axes ? config.data_axes[id] : 'y';
};
c3_axis_fn.getXAxisTickFormat = function getXAxisTickFormat() {
// #2251 previously set any negative values to a whole number,
// however both should be truncated according to the users format specification
var $$ = this.owner,
config = $$.config,
format = $$.isTimeSeries() ? $$.defaultAxisTimeFormat : $$.isCategorized() ? $$.categoryName : function (v) {
return v < 0 ? v.toFixed(0) : v;
config = $$.config;
var format = $$.isTimeSeries() ? $$.defaultAxisTimeFormat : $$.isCategorized() ? $$.categoryName : function (v) {
return v;
};
if (config.axis_x_tick_format) {
if (isFunction(config.axis_x_tick_format)) {
format = config.axis_x_tick_format;
@ -997,7 +1000,7 @@
$$.axes.subx.style("opacity", isHidden ? 0 : 1).call($$.subXAxis, transition);
};
var c3 = { version: "0.5.3" };
var c3 = { version: "0.5.4" };
var c3_chart_fn;
var c3_chart_internal_fn;
@ -4146,7 +4149,7 @@
$$.removeHiddenTargetIds(targetIds);
targets = $$.svg.selectAll($$.selectorTargets(targetIds));
targets.transition().style('opacity', 1, 'important').call($$.endall, function () {
targets.transition().style('display', 'initial', 'important').style('opacity', 1, 'important').call($$.endall, function () {
targets.style('opacity', null).style('opacity', 1);
});
@ -4169,6 +4172,7 @@
targets.transition().style('opacity', 0, 'important').call($$.endall, function () {
targets.style('opacity', null).style('opacity', 0);
targets.style('display', 'none');
});
if (options.withLegend) {
@ -4274,8 +4278,10 @@
$$.redraw({ withY: $$.config.zoom_rescale, withSubchart: false });
}
$$.config.zoom_onzoom.call(this, $$.x.orgDomain());
}
return domain;
} else {
return $$.x.domain();
}
};
c3_chart_fn.zoom.enable = function (enabled) {
var $$ = this.internal;

4
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.5.3",
"version": "0.5.4",
"keywords": [],
"dependencies": {
"mbostock/d3": "v3.5.6"

4
docs/index.html.haml

@ -38,6 +38,10 @@
%h3 Change Log
%ul
%li
<a href="https://github.com/c3js/c3/releases/tag/v0.5.4">v0.5.4</a><span class="gray">&nbsp;-&nbsp;2018-04-23</span>
%ul
%li Bug fixes.
%li
<a href="https://github.com/c3js/c3/releases/tag/v0.5.3">v0.5.3</a><span class="gray">&nbsp;-&nbsp;2018-04-12</span>
%ul

4
docs/js/c3.min.js vendored

File diff suppressed because one or more lines are too long

2
htdocs/samples/chart_bar_max_width.html

@ -5,7 +5,7 @@
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script>
var chart = c3.generate({

2
package.json

@ -1,6 +1,6 @@
{
"name": "c3",
"version": "0.5.3",
"version": "0.5.4",
"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.5.3" };
export var c3 = { version: "0.5.4" };
export var c3_chart_fn;
export var c3_chart_internal_fn;

Loading…
Cancel
Save