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 9642db4 commit 55d4dfeCopy full SHA for 55d4dfe
src/generateChartComponent.js
@@ -31,7 +31,7 @@ export default function generateChartComponent (name, type) {
31
const emptyLabels = Array(this.datasets[0].data.length).fill('')
32
33
if (this.labels === 'indexes') {
34
- return emptyLabels.map((u, i) => i)
+ return emptyLabels.map((u, i) => i + 1)
35
} else if (this.labels === 'months') {
36
return emptyLabels.map((u, i) => this.$options.months[i % 12])
37
}
0 commit comments