A form of ametropia caused by changes in the length of the eyeball on the optic axis. The disorder can lead to the development of nearsightedness or farsightedness.