public ChartAreaValuesPresenter(IChartAreaValuesView view)
        {
            _view = view;
            EventAggregator.Instance.Subscribe <CalculationsModeChangedEvent>(OnCalculationsModeChangedEvent);

            _view.YMaxChanged += OnValueChanged;
            _view.XMaxChanged += OnValueChanged;
            _view.XMinChanged += OnValueChanged;
            _view.YMinChanged += OnValueChanged;
            _view.YMax         = 3;
            _view.XMax         = 5;
            _view.YMin         = -_view.YMax;
            _view.XMin         = -_view.XMax;
        }
 public ChartAreaValuesPresenter(IChartAreaValuesView view)
 {
     _view = view;
     EventAggregator.Instance.Subscribe <CalculationsModeChangedEvent>(OnCalculationsModeChangedEvent);
 }