SyntaxFix
Write A Post
Hire A Developer
Questions
He's right. If you want to stay with jQuery you could do this
var ctx = $('#myChart')[0]; ctx.height = 500;
or
var ctx = $('#myChart'); ctx.attr('height',500);