Chartjs-Two data sets with different time instances on the same ChartJs chart

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.

Leave a comment