Fixed shifted labels on custom scale for line graph.