Add legend on chart