ColorLine with annotation
Posted: Thu Nov 15, 2007 9:07 am
Hi TeeChart Team,
we have a Chart with a ColorLine:
we want to have an annotation next to ColorLine:
How can we achive this?
Thanks in advance.
we have a Chart with a ColorLine:
Code: Select all
Dim ColorLine1 as New Steema.TeeChart.Tools.ColorLine(TChart1.Chart)
ColorLine1.Active = True
ColorLine1.Axis = TChart1.Axes.Bottom
ColorLine1.Pen.Color = Color.Blue
ColorLine1.Value = TimeValue("02:30 AM").ToOADate
Code: Select all
Dim Ann1 as New Steema.TeeChart.Tools.Annotation(TChart1.Chart)
Ann1.Active = True
Ann1.Left = ???
Ann1.Top = 50
Ann1.Text = "SomeText"
Thanks in advance.