Tension will be maximum when the spring is parallel to the direction of the force on the mass due to gravity, ie when the string is vertically up and down. It will be minimum at either end of the swing. Thus, in e Tension versus tim graph, the maxima correspond to the strong vertical and minima correspond to the string at either end of its swing. So, if the string starts on the right it will be minimum. Then maximum as it goes to bottom of swing, then minimum as it goes to left, then maximum as it goes to middle (bottom of swing again) and minimum again as it gets back to the position on the right.
The period is therefore taken between either two minima or two maxima. (ie two wavelengths on your graph).
Hope you can understand that.