graph getting displayed correctly