1. An X-ray analyzer, comprising: a sample stage on which a sample is placed; a moving mechanism that is capable of moving the sample stage; a radial ray source that irradiates an arbitrary irradiation point on the sample with a primary radial ray; an X-ray detecting portion that detects a characteristic X-ray and a scattered X-ray radiated from the sample and outputs a signal including energy information of the characteristic X-ray and the scattered X-ray; an analyzing portion that is connected to the X-ray detecting portion and analyzes the signal; an image obtaining portion that obtains image data of the sample; an analysis processing portion that is connected to the analyzing portion and discriminates X-ray intensity corresponding to a specific element; an X-ray mapping processing portion that determines intensity contrast of at least one of color and brightness corresponding to the X-ray intensity based on a result of the discrimination by the analysis processing portion and performs X-ray mapping so as to perform a superimposition process of a resultant mapping image and the image data, thereby determining a position corresponding to the irradiation point; a display portion that displays an image based on a result of the X-ray mapping; and region designating means for designating a measurement execution region on the displayed image so as to obtain measurement region information, wherein the moving mechanism for the sample moves at a higher speed in a region excluding the designated measurement execution region than a speed in the designated measurement execution region.