public ParameterIdentificationErrorHistoryFeedbackPresenter(IParameterIdentificationErrorHistoryFeedbackView view, IChartDisplayPresenter chartDisplayPresenter, IDimensionFactory dimensionFactory) : base(view) { _chartDisplayPresenter = chartDisplayPresenter; _dimensionFactory = dimensionFactory; _view.AddChartView(_chartDisplayPresenter.View); AddSubPresenters(_chartDisplayPresenter); Chart = new CurveChart().WithAxes(); Chart.Title = Captions.ParameterIdentification.ErrorHistory; _chartDisplayPresenter.Edit(Chart, new ChartFontAndSizeSettings().ForParameterIdentificationFeedback()); }
protected ParameterIdentificationChartFeedbackPresenter(IParameterIdentificationChartFeedbackView view, IChartDisplayPresenter chartDisplayPresenter, IDimensionFactory dimensionFactory, IDisplayUnitRetriever displayUnitRetriever, TChart chart) : base(view) { _chartDisplayPresenter = chartDisplayPresenter; _displayUnitRetriever = displayUnitRetriever; _view.AddChartView(chartDisplayPresenter.View); AddSubPresenters(_chartDisplayPresenter); _dimensionFactory = dimensionFactory; _chart = chart; _outputMappingComparer = new OutputMappingByFullOutputPathComparer(); _chartDisplayPresenter.Edit(_chart, new ChartFontAndSizeSettings().ForParameterIdentificationFeedback()); }