modified to hopefully display percentages on the graph and give the graph some more color options