resizable graph