example for legend grouping multiple series by name