bar and line styling. fixed compilation error on chart.js