/// <summary> /// Initializes a new instance of the <see cref="TrendLinePenetrationArgs"/> class. /// </summary> /// <param name="trendLine">Reference to trendline being penetrated</param> /// <param name="trendLinePenetrationEnum">Penetration type</param> /// <param name="series">Reference to the Series that penetrated the trendline</param> public TrendLinePenetrationArgs(TrendLine trendLine, TrendLinePenetrationEnum trendLinePenetrationEnum, Series series) { TrendLine = trendLine; TrendLinePenetrationType = trendLinePenetrationEnum; Series = series; }
internal void FireTrendLinePenetration(TrendLine trendLine, TrendLinePenetrationEnum trendLinePenetrationEnum, Series series) { if (TrendLinePenetration != null) { TrendLinePenetration(this, new TrendLinePenetrationArgs(trendLine, trendLinePenetrationEnum, series)); } }