Reputation: 229
Using Vue-chart-js in the below line graph I need a line when there is only one data point, i used beginAtZero: true,, but still no luck.
dates in x axis and count in y axis with a single data point
Upvotes: 0
Views: 204
Reputation: 75
I also had this problem. I had made the following mistake:
labels: ["September, Oktober, November, Dezember"],
I somehow forgot to put the missing quotes
labels: ["September", "Oktober", "November", "Dezember"],
It would be nice to have a couple more pieces of information about your project. I could imagine, that you need more labels for the x-axis.
Upvotes: 0