This class can be used to plot graphs with lines defined by the least square fit algorithm. It takes the coordinates of a set of points and draws lines that minimize the distance to the points using the least square fit algorithm. The generated graph is saved to a file in PNG format.