fix margins of chart