Determining relationships through trend lines