Improved the styling of chart1 and chart 2