added chart x legend. needs work