Making legends member data of the class