showing graphic with correct data