Chart legend working again