PHP helper for use with Chartkick.JS