updated legend to group series which have the same name

updated toggle/order/highlight as necessary for legend series groups