]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typo in linear scale.
authorEvert Timberg <evert.timberg@gmail.com>
Sat, 13 Jun 2015 18:47:13 +0000 (14:47 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Sat, 13 Jun 2015 18:47:13 +0000 (14:47 -0400)
src/scales/scale.linear.js

index 0ddd956b5417cba1c4412d49a8cc85536678844c..60caae477347ac46e4d47d389a27814162cfe419 100644 (file)
 
                                if (this.options.labels.userCallback) {
                                        // If the user provided a callback for label generation, use that as first priority
-                                       label = this.options.lables.userCallback(tick, index, ticks);
+                                       label = this.options.labels.userCallback(tick, index, ticks);
                                } else if (this.options.labels.template) {
                                        // else fall back to the template string
                                        label = helpers.template(this.options.labels.template, {