public void Init(Controller controller, int lineCount, int pointsToDraw) { m_controller = controller; m_controller.PropertyChanged += M_controller_PropertyChanged; Plot.AddLines(lineCount, pointsToDraw); }