Skip to content

Dont work TypeError: t is null #9098

Answered by LeeLenaleee
einaranjo asked this question in Q&A
Discussion options

You must be logged in to vote

Cant seem to reproduce, only thing that seems to happen is a white screen with your code but no error, switching var ctx = input_chart.getContext('2d'); to const ctx = document.getElementById("myChart").getContext('2d') makes it work perfectly fine

Fiddle https://jsfiddle.net/Leelenaleee/2mr53x19/10/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by einaranjo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants