Update c3.js and c3.min.js

parent c6e5727e
......@@ -3360,6 +3360,7 @@
c3_chart_internal_fn.updateCircle = function () {
var $$ = this;
$$.main.selectAll('.' + CLASS.circles).selectAll('.' + CLASS.circle).remove();
$$.mainCircle = $$.main.selectAll('.' + CLASS.circles).selectAll('.' + CLASS.circle)
.data($$.lineOrScatterData.bind($$));
$$.mainCircle.enter().append($$.getMarker.bind($$))
......@@ -3567,6 +3568,17 @@
return func($$.pointR(d, i), $$.color(d, i)).node();
};
c3_chart_fn.dataMarker = function(id, value){
var $$ = this.internal;
if(typeof value !== 'string') {
return $$.config.marker_types[id];
}
if($$.config.marker_types[id] !== value){
$$.config.marker_types[id] = value;
}
};
c3_chart_internal_fn.initBar = function () {
var $$ = this;
$$.main.select('.' + CLASS.chart).append("g")
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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