Made charts resizable