Scale chart by window percentage

Change fixed chart width to scalable percentage according to window
width