Changed graph library and added graph for sugar values