fix chart dimensions