internal PlotManager(EasyChartX easyChart, SeriesCollection plotSeries, EasyChartXSeriesCollection lineSeries) { this._fitType = EasyChartX.FitType.Range; this.IsPlotting = false; this._easyChart = easyChart; this.CumulativePlot = false; this._plotSeriesCount = 1; this.PlotSeries = plotSeries; this._plotSeriesCount = PlotSeries.Count; this._lineSeries = lineSeries; this.PlotDatas = new List <DataEntity>(Constants.MaxPointsInSingleSeries); this.DataCheckParams = new DataCheckParameters(); }
internal PlotManager(EasyChartX parentChart, SeriesCollection plotSeries) { // LineSeries只是一个用于维护对外接口的属性 this._fitType = EasyChartX.FitType.Range; this.IsPlotting = false; this._parentChart = parentChart; this.CumulativePlot = false; this._plotSeriesCount = 1; this.PlotSeries = plotSeries; this._plotSeriesCount = PlotSeries.Count; this._series = new EasyChartXSeriesCollection(plotSeries, parentChart); LineSeries = new EasyChartXLineSeries(_series); this.PlotDatas = new List <DataEntity>(Constants.MaxPointsInSingleSeries); this.DataCheckParams = new DataCheckParameters(); this.MaxSeriesCount = Constants.DefaultMaxSeriesCount; }