0👍
You could add objects as data
in a dataset (https://www.chartjs.org/docs/latest/general/data-structures.html#object), and remove the labels
option:
const cfg = {
type: 'line',
data: {
datasets: [{
data: [{x: epoch, y: 20}, {x: epoch, y: 10}]
}]
}
}
- Chartjs-Calling a function for fontSize in Doughnut Chart (typescript)
- Chartjs-Make overlapping d3.js radar chart elements transparent
Source:stackexchange.com