Fixed problem with scaling and line graphs