Syntax fix for chart.js

Minor syntax correction.