Improved graph legend styling