message: Do not cache sources for auto scale
diff: @@ -126,7 +126,6 @@ export class PriceScale {
  private _dataSources: IDataSource[] = [];
  private _cachedOrderedSources: IDataSource[] | null = null;
  - private _sourcesForAutoScale: IPriceDataSource[] | null = null;
  private _hasSeries: boolean = false;
  private _mainSource: IPriceDataSource | null = null;
  @@ -491,7 +490,6 @@ export class PriceScale {
  this._dataSources.push(source);
  this._mainSource = null;
  - this._sourcesForAutoScale = null;
  this.updateFormatter();
  this.invalidateSourcesCache();
  }
  @@ -514,7 +512,6 @@ export class PriceScale {
  }
  this._mainSource = null;
  - this._sourcesForAutoScale = null;
  this.updateFormatter();
  this.invalidateSourcesCache();
  }
  @@ -710,11 +707,11 @@ export class PriceScale {
  }
  public sourcesForAutoScale(): ReadonlyArray<IPriceDataSource> {
  - if (this._sourcesForAutoScale === null) {
  - this._recalculateSourcesForAutoScale();
  + function useSourceForAutoScale(source: IDataSource): source is IPriceDataSource {
  + return source instanceof PriceDataSource;
  }
  - return ensureNotNull(this._sourcesForAutoScale);
  + return this._dataSources.filter(useSourceForAutoScale);
  }
  public recalculatePriceRange(visibleBars: BarsRange): void {
  @@ -816,18 +813,6 @@ export class PriceScale {
  return mainSource.formatter();
  }
  - private _recalculateSourcesForAutoScale(): void {
  - function useSourceForAutoScale(source: IDataSource): source is IPriceDataSource {
  - if (!(source instanceof Series)) {
  - return false;
  - }
  -
  - return source instanceof PriceDataSource;
  - }
  -
  - this._sourcesForAutoScale = this._dataSources.filter(useSourceForAutoScale);
  - }
  -
  private _recalculatePriceRangeImpl(): void {
  const visibleBars = this._invalidatedForRange.visibleBars;
  if (visibleBars === null) {
  