dynamic width on graph