2๐
โ
As you can see on the linked post (you linked that post), the answer contains code like this:
for (var i = 0; i < dataset.data.length; i++) {
for(var key in dataset._meta)
{
var model = dataset._meta[key].data[i]._model;
ctx.fillText(dataset.data[i], model.x, model.y - 5);
}
}
This code is the accepted. Try this. The other, you try to use has the same null error problem.
Source:stackexchange.com