Chartjs-2 Line Chart with different labels | Chart.js

1👍

The easiest solution is to fill your data array of your red line with the amount of null values until it hits the right spot, alternatively you can supply your data array containing objects where you can specify the x and y value so you can put it directly where you want

0👍

I made it with adding ‘null’ to the array , even tho in python it is None but in javascript it is null. So i added a string ‘null’ to the array and i got the result i wanted
enter image description here

Leave a comment