added chart legend