changed chart y-axis scaling to allow more room for legend