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 efa5523 commit 3102fabCopy full SHA for 3102fab
src/core/core.scale.js
@@ -356,7 +356,7 @@ var Scale = Element.extend({
356
*/
357
_getLabels: function() {
358
var data = this.chart.data;
359
- return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
+ return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];
360
},
361
362
// These methods are ordered by lifecyle. Utilities then follow.
0 commit comments