I am creating some charts using chart.js with the context looking like this:
var ctx = document.getElementById(\'myChart\'); var ctx2