Chord : bug fix in legend selecting