[Chartjs]-Chart.js – Connect two datasets in a line chart at same y value

4👍

Figured it out. In case anyone comes across this question, the solution was to used null instead of 0 in the data array as necessary.

Ex:

Dataset 1

data : [5,7,8,9,11]

Dataset 2

data : [null, null, null, null, 11, 5, 8, 3]

Leave a comment