Commit a26ab6cf authored by Dmitry's avatar Dmitry

Fix bug with markers for non line-m charts

parent 78461b6c
......@@ -3501,11 +3501,12 @@
var $$ = this;
if(!$$.config.marker_types || !$$.config.marker_types[d.id]){
return marker_fn.circle($$.pointR(d, i));
return marker_fn.circle($$.pointR(d, i)).node();
}
return marker_fn[$$.config.marker_types[d.id]]($$.pointR(d, i), $$.color(d, i)).node();
};
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.
......@@ -56,7 +56,7 @@ c3_chart_internal_fn.getMarker = function(d, i){
var $$ = this;
if(!$$.config.marker_types || !$$.config.marker_types[d.id]){
return marker_fn.circle($$.pointR(d, i));
return marker_fn.circle($$.pointR(d, i)).node();
}
return marker_fn[$$.config.marker_types[d.id]]($$.pointR(d, i), $$.color(d, i)).node();
......
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