Skip to content

Commit

Permalink
chore(version): bump to v0.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Dec 4, 2018
1 parent 506b27a commit 878933b
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 16 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.6.9
version: 0.6.10
commit: 'chore(version): bump to v%.%.%'
files:
src/core.js: 'version: "%.%.%"'
Expand Down
8 changes: 4 additions & 4 deletions c3.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @license C3.js v0.6.9 | (c) C3 Team and other contributors | http://c3js.org/ */
/* @license C3.js v0.6.10 | (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) :
Expand Down Expand Up @@ -1147,7 +1147,7 @@
};

var c3 = {
version: "0.6.9",
version: "0.6.10",
chart: {
fn: Chart.prototype,
internal: {
Expand Down Expand Up @@ -5592,7 +5592,7 @@
mainArcLabelLine.style("display", "none");
} else {
mainArcLabelLine.style("fill", function (d) {
return config.color_pattern.length > 0 ? $$.levelColor(d.data.values[0].value) : $$.color(d.data);
return $$.levelColor ? $$.levelColor(d.data.values[0].value) : $$.color(d.data);
}).style("display", config.gauge_labelLine_show ? "" : "none").each(function (d) {
var lineLength = 0,
lineThickness = 2,
Expand Down Expand Up @@ -6052,7 +6052,7 @@
asValue = threshold.unit === 'value',
values = threshold.values && threshold.values.length ? threshold.values : [],
max = threshold.max || 100;
return notEmpty(config.color_threshold) ? function (value) {
return notEmpty(threshold) && notEmpty(colors) ? function (value) {
var i,
v,
color = colors[colors.length - 1];
Expand Down
4 changes: 2 additions & 2 deletions 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.6.9",
"version": "0.6.10",
"keywords": [],
"dependencies": {
"mbostock/d3": "v5.0.0"
Expand Down
4 changes: 4 additions & 0 deletions docs/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@

%h3 Change Log
%ul
%li
<a href="https://github.com/c3js/c3/releases/tag/v0.6.10">v0.6.10</a><span class="gray">&nbsp;-&nbsp;2018-12-04</span>
%ul
%li Fix a bug of arc chart.
%li
<a href="https://github.com/c3js/c3/releases/tag/v0.6.9">v0.6.9</a><span class="gray">&nbsp;-&nbsp;2018-11-22</span>
%ul
Expand Down
8 changes: 4 additions & 4 deletions docs/js/c3.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @license C3.js v0.6.9 | (c) C3 Team and other contributors | http://c3js.org/ */
/* @license C3.js v0.6.10 | (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) :
Expand Down Expand Up @@ -1147,7 +1147,7 @@
};

var c3 = {
version: "0.6.9",
version: "0.6.10",
chart: {
fn: Chart.prototype,
internal: {
Expand Down Expand Up @@ -5592,7 +5592,7 @@
mainArcLabelLine.style("display", "none");
} else {
mainArcLabelLine.style("fill", function (d) {
return config.color_pattern.length > 0 ? $$.levelColor(d.data.values[0].value) : $$.color(d.data);
return $$.levelColor ? $$.levelColor(d.data.values[0].value) : $$.color(d.data);
}).style("display", config.gauge_labelLine_show ? "" : "none").each(function (d) {
var lineLength = 0,
lineThickness = 2,
Expand Down Expand Up @@ -6052,7 +6052,7 @@
asValue = threshold.unit === 'value',
values = threshold.values && threshold.values.length ? threshold.values : [],
max = threshold.max || 100;
return notEmpty(config.color_threshold) ? function (value) {
return notEmpty(threshold) && notEmpty(colors) ? function (value) {
var i,
v,
color = colors[colors.length - 1];
Expand Down
4 changes: 2 additions & 2 deletions docs/js/c3.min.js

Large diffs are not rendered by default.

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.6.9",
"version": "0.6.10",
"description": "D3-based reusable chart library",
"main": "c3.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
} from './util';

var c3 = {
version: "0.6.9",
version: "0.6.10",
chart: {
fn: Chart.prototype,
internal: {
Expand Down

0 comments on commit 878933b

Please sign in to comment.