Skip to content

Commit

Permalink
Make sure zeroLineIndex is defined (chartjs#6528)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored and etimberg committed Sep 19, 2019
1 parent 827131c commit 859968a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/core.scale.js
Expand Up @@ -202,6 +202,9 @@ function parseTickFontOptions(options) {
}

var Scale = Element.extend({

zeroLineIndex: 0,

/**
* Get the padding needed for the scale
* @method getPadding
Expand Down

0 comments on commit 859968a

Please sign in to comment.