Getting other data than x, y pointNumber

Woops, I meant data.points[i].id