diff --git a/spec/api.axis-spec.js b/spec/api.axis-spec.js index 5764f73..a991aa0 100644 --- a/spec/api.axis-spec.js +++ b/spec/api.axis-spec.js @@ -51,4 +51,28 @@ describe('c3 api axis', function () { }); }); + + describe('axis.cullingMax',function(){ + it('should set max culling',function(){ + + chart.axis.cullingMax(2); + var tickCount = 0; + var ticks = document.querySelector('.c3-axis').querySelectorAll('.c3-axis-x .tick '); + + for(var i=0;i