added chart legends