I am trying to create a QLineChart class that has a function that can add new points to the graph. The points appended in the class constructor do show up, but anything added by the method addNewPoints does not show up. How do I add graph points with a class method?