We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fb2c6 commit a968e5bCopy full SHA for a968e5b
src/core/core.scale.js
@@ -406,7 +406,7 @@ var Scale = Element.extend({
406
*/
407
_getLabels: function() {
408
var data = this.chart.data;
409
- return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
+ return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];
410
},
411
412
// These methods are ordered by lifecyle. Utilities then follow.
0 commit comments