Code: Select all
private void OnAfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
foreach (TickMark tckMark in m_TickMarksList )
{
if (tckMark.Value > TimeAxis.Minimum && tckMark.Value < TimeAxis.Maximum)
{
g.Font.Color = Color.Black;
tckMark.GeniuneTickMark.Active = true;
DrawtickMarkLabel(g, tckMark.GeniuneTickMark);
PointTickMarkIntersections(g, tckMark.GeniuneTickMark);
}
else
tckMark.GeniuneTickMark.Active = false;
}
if (m_LevelHelper != null)
{
DrawLevelLabel(g, m_LevelHelper);
}
if( m_TChart.Tools.IndexOf( m_CursorTool ) != -1 )
{
DrawCursorToolMarks( g );
MakeAnnotationForCursorTool();
}
if (m_ChartZoomed)
{
Helper.RecaclulateAxisIncrement(5, TimeAxis);
}
}