	segmentsManager: TrendSegmentsManager;
	minXVal = Infinity;
	minYVal = Infinity;
	maxXVal = -Infinity;
	maxYVal = -Infinity;
	private chart: Chart;
	private calculatedOptions: ITrendOptions;
	private prependRequest: Promise<TTrendRawData>;
	private ee: EventEmitter;
	
	constructor(chartState: Chart, trendName: string, initialState: IChartState) {
		var options = initialState.trends[trendName];