Posted 4 June 2020, 6:43 am EST
draw histogram by flex chart.
I want to draw a line and text on top of Line.
but, axisY value is variable.
annotationLayer.Annotations.Clear() Dim clLine As New C1.Win.Chart.Annotation.Line() clLine.Start = New PointF(75, 0) clLine.End = New PointF(75, ---- AxisY.Max-----) clLine.Content = "MAX" clLine.Style.StrokeWidth = 2 clLine.Style.StrokeColor = Color.FromArgb(100, Color.Red) clLine.Attachment = C1.Chart.Annotation.AnnotationAttachment.DataCoordinate clLine.Position = C1.Chart.Annotation.AnnotationPosition.Bottom annotationLayer.Annotations.Add(clLine)