1👍
✅
Simply define your data as points through an array of objects that have an x
and an y
property each.
data: [{
x: new Date(),
y: 1
}, {
t: new Date(),
y: 10
}]
Make sure to not define
data.labels
in this case.
Source:stackexchange.com