use data for storing width on figure