fix chart legends