change margins of chart preview