updated charts: Line with a resoultion setter
		   Bar with set input
convert code in main class into methods
displayed slider for resolution of line graph