updated legend to group series which have the same name

updated toggle/order/highlight as necessary for legend series groups
Merge commit '6774637'