Repaired the graph widget size not adjusting