internal PlotManager(StripChartX parentChart, SeriesCollection plotSeries) { // LineSeries只是一个用于维护对外接口的属性 this._fitType = StripChartX.FitType.Range; this.IsPlotting = false; this._parentChart = parentChart; this._plotSeriesCount = 1; this.PlotSeries = plotSeries; this._plotSeriesCount = PlotSeries.Count; this.DataEntity = null; this._series = new StripChartXSeriesCollection(plotSeries, parentChart); this.LineSeries = new StripChartXLineSeries(_series); this.DataCheckParams = new DataCheckParameters(); this.DisplayPoints = Constants.DefaultDisplaySamples; this.MaxSeriesCount = Constants.DefaultMaxSeriesCount; }
public StripChartXLineSeries(StripChartXSeriesCollection seriesCollection) { this._seriesCollection = seriesCollection; this.SyncRoot = _seriesCollection; }