Commit aac57f45 authored by Evgeny's avatar Evgeny

Make setMarker public API

parent 1426795f
...@@ -3429,6 +3429,10 @@ ...@@ -3429,6 +3429,10 @@
$$.config.marker_types[id] = type; $$.config.marker_types[id] = type;
} }
c3_chart_fn.setMarker = function(id, type){
return this.internal.setMarker(id, type);
}
c3_chart_internal_fn.getMarker = function(d, i){ c3_chart_internal_fn.getMarker = function(d, i){
var $$ = this; var $$ = this;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -136,6 +136,10 @@ c3_chart_internal_fn.setMarker = function(id, type){ ...@@ -136,6 +136,10 @@ c3_chart_internal_fn.setMarker = function(id, type){
$$.config.marker_types[id] = type; $$.config.marker_types[id] = type;
} }
c3_chart_fn.setMarker = function(id, type){
return this.internal.setMarker(id, type);
}
c3_chart_internal_fn.getMarker = function(d, i){ c3_chart_internal_fn.getMarker = function(d, i){
var $$ = this; var $$ = this;
......
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