line graph builder has layout for y-axis