Commit 3827c569 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix conflict

parents 34508a2d 8b75e705
......@@ -6246,7 +6246,7 @@
};
c3_chart_fn.data.values = function (targetId) {
var target = this.data(targetId);
return target ? target.values.map(function (d) { return d.value; }) : null;
return target[0] ? target[0].values.map(function (d) { return d.value; }) : null;
};
c3_chart_fn.data.names = function (names) {
return this.internal.updateDataAttributes('names', names);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9,7 +9,7 @@ c3_chart_fn.data.shown = function (targetId) {
};
c3_chart_fn.data.values = function (targetId) {
var target = this.data(targetId);
return target ? target.values.map(function (d) { return d.value; }) : null;
return target[0] ? target[0].values.map(function (d) { return d.value; }) : null;
};
c3_chart_fn.data.names = function (names) {
return this.internal.updateDataAttributes('names', names);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment