I draw a line where the x-axis indexes are 0,1,2, etc. Y-axis values of the line itself. In the "MainWindow" class, I enable the "eventfilter" event with