Test intervals respectively corresponding to a plurality of medical tests for diagnosis or treatment are obtained, and a period to be displayed on a time series graph showing test results of the medical tests is determined such that the period to be displayed is not shorter than the longest test interval of the obtained test intervals. Then, the time series graph is generated based on the determined period to be displayed and test results of the medical tests performed on a given subject.