Charts explain how Apple’s profit fell while its revenue rose