An option to change bar graph to line graph