Function to create object for table properties (taking that out from Plot function)