Make Chart.Ticks private and remove Chart.Ticks.generators.time (#4602)

This commit is contained in:
Ben McCann 2017-08-02 05:30:38 -07:00 committed by Simon Brunel
parent 2922dc96cf
commit 51603cce2e
2 changed files with 0 additions and 5 deletions

View File

@ -13,7 +13,6 @@ Chart.Element = require('./core/core.element');
Chart.elements = require('./elements/index');
Chart.Interaction = require('./core/core.interaction');
Chart.platform = require('./platforms/platform');
Chart.Ticks = require('./core/core.ticks');
require('./core/core.plugin')(Chart);
require('./core/core.animation')(Chart);

View File

@ -407,10 +407,6 @@ module.exports = function(Chart) {
}
};
Chart.Ticks.generators.time = function(opts, range) {
return generate(range.min, range.max, opts.unit, opts.majorUnit, opts.stepSize, opts.timeOpts);
};
var TimeScale = Chart.Scale.extend({
initialize: function() {
if (!moment) {