fixed line scaling to graph