Skip to content

Commit

Permalink
Make custom scale implemenation more real
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jun 27, 2019
1 parent fed37b6 commit 2ac5678
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/specs/core.scale.tests.js
Expand Up @@ -495,6 +495,9 @@ describe('Core.scale', function() {
it('should default to one layer for custom scales', function() {
var customScale = Chart.Scale.extend({
draw: function() {},
buildTicks: function() {
this.ticks = ['tick'];
},
convertTicksToLabels: function() {
return ['tick'];
}
Expand Down

0 comments on commit 2ac5678

Please sign in to comment.