0👍
✅
You just have a minor typo
:
Instead of:
type: 'ShowChart()bar'
Should be:
type: 'bar'
Always check the documentation: http://www.chartjs.org/docs/latest/charts/
Source:stackexchange.com