check this out :
in controller i would return the points as json, too , if you only need it for the js render it only as json
render(template: 'barChart', model:[points: usersAndPTO,jsonPoints: usersAndPTO as JSON])
this is you template _barChart.gsp´s bottom
...
<g:if test="${jsonPoints}">
<script>
alert("${jsonPoints}");
// you can also pass them to a function from original dom, its available cause this template now is part of original dom
myFreakyFunction("${jsonPoints}");
</script>
</g:if>
and when the template is loaded complete,it should alert ! so