This study presents the results of research using an eye-tracking technique which enables following eyeball movements while solving a scientific task. Also presented is an analysis of the visual attention for participants (further called subjects) of a different mathematical experience while solving a mathematics test task. The aim of the research is to determine the profile of methods of solution of tasks which require the analysis of a diagram. The research opens new cognitive possibilities in mathematics didactics by showing the utility of the eye-tracking technique in a deeper recognition of the processes of learning and teaching Maths.