private void fittedChart_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { int xpos; xpos = fittedChart.Axes.Bottom.CalcXPosValue(ExtractBegin); Rectangle r = fittedChart.Chart.ChartRect; g.ClipRectangle(r); g.Pen.Color = Color.Blue; g.Pen.Width = 2; g.Pen.Style = System.Drawing.Drawing2D.DashStyle.DashDot; g.VerticalLine(xpos, r.Top, r.Bottom); xpos = fittedChart.Axes.Bottom.CalcXPosValue(TestBegin); g.VerticalLine(xpos, r.Top, r.Bottom); g.UnClip(); }