legend event data matches bar event data